wow, i'm glad that many people reply this topic.
However, now i am learning by myself Visual C++ 6(MFC). But since someone said that it should be better to understand WinAPI before...therefore i...
Type: Posts; User: davidvoyage200
wow, i'm glad that many people reply this topic.
However, now i am learning by myself Visual C++ 6(MFC). But since someone said that it should be better to understand WinAPI before...therefore i...
i'm thinking if i can do something like this:
1.Create 2 txt files (SaveGame.txt, LoadGame.txt)
2. Save the hero's info to SaveGame.txt
3.Copy data in SaveGame.txt to LoadGame.txt(I don't...
yes of course, because i want to play that game later...
Hi, i am creating a little c++ rpg game and now i have trouble with saving and loading data.
Saving Game:
For saving game, i just have to output all the info of my hero to a txt file. To do that,...
thanks everyone, since i only have Visual C++ 6, so i think i work on that.....
So, even if i learn windows programming with visual c++ 6, it can help me to familiarise overall window programming...
Hi,
I have learned C++ and create program in DOS environment, and now i would like to create Window application and do window programming.
Last year i bought a book call: "Visual C++ 6 in 24...
if some of you have time, could you please explain me line by line how the "printmessage" function work?
Especially this line:
cout<<flush;
Thanks again.
Thank Everyone, it works now:)
Thanks XSquared,
but i don't understand your function...(too difficult for me)
however i start get "the wookie" 's program work, please take a look.
#include <iostream.h>
#include...
thanks "the wookie",
but i don't know how to get your funtion work...:
#include <iostream.h>
#include <windows.h>
void printmessage(const char *);
ok thanks, but also, i would like to know how to display a text and then let the user press any key(Without display the message Press any key to continue), then it clear the text and display the...
Hi everybody,
now i am creating a little RPG game(It is still FAR from over).
But i have a little problem with the display....
it display text all at once instead of word by word(like in real...
ok..thanks, but what can i do to fix this problem??
Can i declare it outside the function and then create another "method function" call "setvalue" and call it inside the "if".
Ex:
class...
Hi everybody,
i am creating my very first little game now, it is just the beginning of the game...however i found an error while compiling:
'obj' : undeclare identifier
it was in line 85.
...
thanks all for giving me your info:)
Hi everyone,
After studying computer science for one year, now i understand C++ from "if statement" to "Class and Inheritance".
Now it is summer holiday, i am wondering if i should learn Visual...
This is the .txt file that the program need to read into it....
Here is my program, the output is a little bit weird, it doesn't output all the stuff....
Here is my program for download...
THanks a lot,
now, i have no error during compiling but only 2 warning.
However, i got 2 error while linking because of my destructor, so i can't run my program, here is my program. (However, if...
Hi everybody,
i got an error during compiling(Line 34)...the compilier says:
"error C2146: syntax error : missing ';' before identifier 'VolumeOfPool'"
here is my program:
#include...
Hello, now, i am creating a program to create 3 lists. (List1, list2, list3)
my program will read from a txt file which contains letters.
for example:
a
b
c
sorry guys,
please go to my new topic instead of this messy one with syntax error....
my new topic is "Linked list part 2 (Syntax error free version)"
ok thanks,
now i make 'head3' to global...
#include <iostream.h>
#include <fstream.h>
#include <stdlib.h>
struct NodeType
Hello, now, i am creating a program to create 3 lists. (List1, list2, list3)
my program will read from a txt file which contains letters.
for example:
a
b
c
I have encounter trouble while printing my link list.
it displays nothing on screen....i don't know why?
Here is my code:
#include <iostream.h>
#include <fstream.h>
#include <stdlib.h>