-
Is there a command in C similar to the locate x,y from QB
As the title states is there a command like the
locate (x coord, y coord) in QB, in C?
Thanks to anyone in advance.
-
Banned
Depends on what compiler and operating system you are using. Microsoft uses API's to draw graphics and to plot positions. I don't think this is part of the standard, it's likely vendor specific. Ofcourse it exists.
-
I'm using DJGPP on Windows 95, and all I want is a command to make something move to a certain coordinate. Like instead of putting (for an example) the letter o at the top left of the screen by printing it there I want and command like
gotoxy(20, 20); I know this isn't the center be it's and example
printf("o");
to make the "o" goto 20, 20.
-
Banned
Than you will likely have to use allegro or some such library.
Popular pages
Recent additions