-
coordinates??
hello again : )
I was wondering if there is a way (for console app) to write a display that goes like this :
(1.)some decorations here
(2.)cin commands here
(3.)some decorations here
meaning, the program would display (3) without having to wait for the user to cin anything on (2).
I saw people doing it in pascal....but i've never learnt that language....so is this possible in c++???
-
This way, no. But you could print the two decos first and wait for cin at the end. Look into the FAQ and search for gotoxy or cursor positioning in a console.
-
One of the items under "Various" in the board FAQ tells you how to move the cursor around the console screen. Move to where you want your decorations and write, move back to where you want to do your I/O and do your I/O.
http://www.cprogramming.com/boardfaq.html#various
-
Whoop's same time syndrome strikes again!