you can use gotoxy instead of moving through an array?
you can use gotoxy instead of moving through an array?
forgot to add: in DOS
Yes, but gotoxy is a nonstandard function, so if you want to distribute your code, it is best to make your own gotoxy function.
in true DOS you can set the cursor position by calling a software interrupt. Cant remember which one. Ask bubba or doubleanti. It is also possible to write directly to video addresses.
In windows console all of this info is invalid and instead you can use gotoxy() which is a non standard function. If you have it then it will be in <conio.h>. If you do not have it do not fret just whizz over to the FAQ and you will find a simple implementation of it that will work on any windows compiler.
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi