-
gotoxy function call
Hi, sorry if this is such a simple question it seems trivial to you guys but I'm just learning C++ so here goes.
I know there is a gotoxy function call for setting text output to a specific text slot on the monitor, but I can't find the include library with the function declaration. I'm running Visual C++ 6.0 and so far I've no had much luck compiling
void main()
{
gotoxy(5,5);
cout << 'a' << endl;
getch();
}
('gotoxy' : undeclared identifier) <--: error message
Any help with how to solve this issue would be most appreciated.
Thanks,
artalin
-
visual c++ 6 doesnt have a gotoxy() function but it is easy enough to write one. Read the FAQ to see how to do this.
-
Rather than just giving you a fish because you're hungry, I'm going to teach you how to fish :D
go to Start->Find->Files or Folders
click "Browse" and navigate to your compiler's "Include" folder, and click "OK".
Now type in the box labeled "containing text":
gotoxy
Click "Find Now".
-
Doh, me=stupid noob.
sorry fellas
artalin