Okay, I think I get it so its like this
#include <iostream.h>
#include <stdlib.h>
int main()
{
int age;
char name[50];
Type: Posts; User: skyruler54
Okay, I think I get it so its like this
#include <iostream.h>
#include <stdlib.h>
int main()
{
int age;
char name[50];
I forgot about that...havn't coded in c++ in a long time...but can someone tell me how the char thing works?
I am currently using Dev-C++ 4. But I am getting some odd coding errors when using cout and cin, here is a example
#include <iostream.h>
#include <stdlib.h>
int main()
{
int name;
...
Assuming I have no idea how to do it. Just tell me please. And what header files I need...
Yeah
I saw this in a few games. Like the title of a game types out infront of you and doesn't just appear all of the sudden. How do I do this?
And where exactly could I find how to do this?
Is there a way in a DOS game to have 2 windows open at the same time? Like one showing your items and one showing a map? I was thinking for diffrent programs but how would I call the other program?
I am in..not sure how to do this yet...but should be fun..
Nothing now...Thanks for your help people
There
#include <iostream.h>
#include <stdlib.h>
int main()
{
cout<<"Welcome to Tic-Tac-Toe\n";
cout<<"What do you wish to do?\n";
cout<<"1.New Game\n";
Sebastiani is a friendly person..
Thanks for your help Stoned_Coder
Okay, I compiler the code. The complier says there is a error at the end of input. On line uh...like one line after the last '}'.
I changed it to CLS but I am still getting a error at the end of input...
Okay I fixed it
#include <iostream.h>
#include <stdlib.h>
int main()
{
cout<<"Welcome to Tic-Tac-Toe\n";
cout<<"What do you wish to do?\n";
cout<<"1.New Game\n";
I replied to you PM maloy
This is dos specific I think. Could someone list the most useful system commands and what they do?
I sense a mood swing
:D
So no one knows?
How did you change the text color? I didn't understand your code
Oh and I didn't post a poll because I didn't know the most popular editors :-)
EDXOR isn't really a C++ editor but I have had it for a long time so it is a favorite of mine. I just add .cpp to the end and it works nicely...EDXOR can be found at:
EDXOR
1 parse error before `--'
31 In file included from C:/DEV-CPP/include/g++-3/iostream.h
2 from Source.cpp
37 parse error before `}'
[Warning] In function `int main()':
I use EDXOR. I like it. How about you?
#include <iostream.h>
#include <stdlib.h>
int main()
{
cout<<"Welcome to Tic-Tac-Toe\n";
cout<<"What do you wish to do?\n";
cout<<"1.New Game\n";
cout<<"2.Options\n";
cout<<"3.Quit\n";
int...