Hey, I was just wondering if there is a command that can locate postions (like in QB LOCATE).
I'm sure there is, I just don't know what it would be.
If you can help, please post on this board.
Thanks alot for the help.
-Kavity
Hey, I was just wondering if there is a command that can locate postions (like in QB LOCATE).
I'm sure there is, I just don't know what it would be.
If you can help, please post on this board.
Thanks alot for the help.
-Kavity
> if there is a command that can locate postions (like in QB LOCATE).
Short answer - no.
Long answer - depends on your compiler and OS - there is no standard way.
For real DOS programs, there's gotoxy (see conio.h)
For win32 console programs, see
http://www.cprogramming.com/boardfaq.html#various
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I wanna know how to do it in dos. :/
Tcpp
or DJGPP
Or BORLAND 5.02
or M$VC++ are the compilers i use..
Thanks
-Kavity