There is one out there, I've had one running on my machine before in DOS, it was pretty cool, but of course, it could be the only thing running at the time, not sure how to make a better one though....
Type: Posts; User: mbolthouse
There is one out there, I've had one running on my machine before in DOS, it was pretty cool, but of course, it could be the only thing running at the time, not sure how to make a better one though....
Just like the topic says, I was wondering if there are any different ways to write IF statements besides the following:
if(x > 0)
{
cout << "X is Greater than 0";
}
else
{
cout <<...
or you can use a system("PAUSE"); with the stdlib.h, or getch(); with the conio.h
Mike
Sorry Strider, i didn't see that you fixxed it before. Thanks for your help, though, I appreciate it!
Mike
OK, It works now with much help from Perderabo from the unix.com forum. What was wrong was the loop itself:
if(movement == 8)
If you are to set the variable 'movement' to an 'int' instead of a...
Ok, he's the problem...
#include iostream.h
#include conio.h
int main()
{
char movement;
I've tried this multiple ways, but I can't get a, lets say, a blue background w/ green text. Is there a way to accomplish this?
Thanks!
Mike