Forum: Windows tips 'n' tweaks Jul 11th, 2009 |
| Replies: 3 Views: 1,407 Actually i know the way to change folder background...
But my problem is why i must set the folder icon so that it generate the desktop.ini file then only i can change the background..
I try to... |
Forum: C++ May 6th, 2009 |
| Replies: 12 Views: 509 you mean system("pause"); ?
it just pause it. it is dos command. |
Forum: C++ May 5th, 2009 |
| Replies: 12 Views: 509 anyone have idea on this error? |
Forum: C++ May 5th, 2009 |
| Replies: 12 Views: 509 yes... sorry for the wrong file name... |
Forum: C++ May 5th, 2009 |
| Replies: 12 Views: 509 i changed axeman.att, not axeman. att. But the error still there.
show.h actually is my function.h. i save show.h in my program. But i post here, i write as function.h. |
Forum: C++ May 5th, 2009 |
| Replies: 12 Views: 509 struct AXEMAN{
int lvl;
int att;
int hp;};
struct DEFENDER{
int lvl;
int att;
int hp;};
struct ARCHER{
... |
Forum: C++ May 5th, 2009 |
| Replies: 12 Views: 509 >main.cpp
#include <cstdlib>
#include <iostream>
using namespace std;
#include "function.h"
int main(int argc, char *argv[])
{ |
Forum: C++ Apr 19th, 2009 |
| Replies: 7 Views: 428 changed but still the same |
Forum: C++ Apr 19th, 2009 |
| Replies: 7 Views: 428 struct AXEMAN{
int lvl;
int att;
int hp;};
struct DEFENDER{
int lvl;
int att;
int hp;};
struct ARCHER{
int lvl; |
Forum: C++ Apr 19th, 2009 |
| Replies: 7 Views: 428 subfunction.cpp:16: error: variable or field `initialize_status_player' declared void
subfunction.cpp:16: error: `AXEMAN' was not declared in this scope
subfunction.cpp:16: error: `axeman' was not... |
Forum: C++ Apr 19th, 2009 |
| Replies: 7 Views: 428 My main code variable declaration (just declaration no login statement)
struct AXEMAN{
int lvl;
int att;
int hp;};
struct DEFENDER{
int lvl;
int att;
... |
Forum: C++ Nov 16th, 2008 |
| Replies: 12 Views: 6,441 to recognize the code "MAINICON ICON"
sorry sorry
forget change the extendtion from .cpp to .rc
can already... thx |
Forum: C++ Nov 16th, 2008 |
| Replies: 12 Views: 6,441 i'm using dev c++..
what library file i have to download? |
Forum: C++ Nov 11th, 2008 |
| Replies: 8 Views: 609 //given struct
struct Car
{
...
};
//define array of car struct with 35 array and initialize elements
car vehicle1[35] ... |
Forum: C++ Nov 11th, 2008 |
| Replies: 0 Views: 305 erm... anyone know what is this declaration mean?
#define LCD_DATA GPIO8->DR[0xFF<<2] /* Data bits D0 = P8.0 .. DB7 = P8.7 */
#define LCD_E GPIO9->DR[0x01<<2] /* Enable control ... |
Forum: C++ Nov 3rd, 2008 |
| Replies: 1 Views: 1,862 i wanna put all my variable initialization at a header file..
but after i put in a header file name, "variable.h"
i #include "variable.h" in main. but it still cant reconize the variable.
what... |
Forum: C++ Oct 1st, 2008 |
| Replies: 9 Views: 658 what should i change it to??
this part has no problem.. because i try to compile the program without separate it with header file..
It can be compile, no problem.. |
Forum: C++ Oct 1st, 2008 |
| Replies: 9 Views: 658 im using Dev C++.. the code at main file has no problem.. i try without using header file..
The program can work..
So the problem is i dont know how to change it to using header file |
Forum: C++ Oct 1st, 2008 |
| Replies: 9 Views: 658 Sorry for asking the topic that asked before... but im still dont know how to use that..
Below is an example create by me.. I hope that someone can tell me which part have to fix ...
This is... |
Forum: C++ Apr 24th, 2008 |
| Replies: 3 Views: 713 i want to make a error check on each input.
if i only got 1 input.. then i just use while(input==false)
so it will continue ask user to input if he wrong input
but if i have many input,then... |
Forum: C++ Apr 4th, 2008 |
| Replies: 3 Views: 546 But the infinite loop error still haven't solve... I will learn better english and re-write it.. and i learning c++ so i'm not very concentrate on the english... sorry~~~~~~~~~~~~~~~~~~ |
Forum: C++ Apr 4th, 2008 |
| Replies: 3 Views: 546 This program is a simple bejewel game... i need to enter the matrix pos[alpabet][number]...eg(a1 or b7)
so if i error input for example:
11 (cout error) this can work
aa (cout error) but this... |
Forum: C++ Mar 5th, 2008 |
| Replies: 8 Views: 3,136 |
Forum: C++ Mar 5th, 2008 |
| Replies: 8 Views: 3,136 So u mean there r no way to show the extended code(167)? |
Forum: C++ Mar 5th, 2008 |
| Replies: 8 Views: 3,136 i mean if initialize char x=65, cout<<x; will show 'A'
but if i initialize char x=167, cout<<x; it doesnt show any thing... |
Forum: C++ Mar 5th, 2008 |
| Replies: 8 Views: 3,136 if i initialize x=65. it can show A (ascii code 65 is A). but 167 cannot.. why?
#include <iostream>
using namespace std;
main()
{
char x=167;
cout<<x<<endl;
... |
Forum: C++ Mar 2nd, 2008 |
| Replies: 5 Views: 665 hmmm... finally i know my lvl d...
i think i better read more rather than i ask..
bcoz u juz explain the info tat i totally nvr c b4 haha
anyway thx... |
Forum: C++ Mar 1st, 2008 |
| Replies: 5 Views: 665 thx..
i learn so much new command...:)
i will try to fix the infinite loop n the error..
but how i use class?
i read some book n they say class is better... |
Forum: C++ Mar 1st, 2008 |
| Replies: 5 Views: 665 thx..
i learn so much new command...:)
i will try to fix the infinite loop n the error.. |
Forum: C++ Mar 1st, 2008 |
| Replies: 5 Views: 665 I wrote a simple bubble game... but it look long and complicated... so any idea to short it down? i heard about class.. but i dunno how to use it.. so is my program can use class? or any idea to... |