hello,
what i want to do is, display some text, in a certain position..?
like.. the user types the text at the bottom of the console, and it apears at the top?
do you understand?
i just realy dont know how to do it
hello,
what i want to do is, display some text, in a certain position..?
like.. the user types the text at the bottom of the console, and it apears at the top?
do you understand?
i just realy dont know how to do it
>do you understand?
Yes.
>i just realy dont know how to do it
Neither do we. You didn't specify what OS/compiler you're using, so there isn't really much we can do to help.
My best code is written with the delete key.
ms visual studio 6
windows
Code:#include <windows.h> void mygotoxy ( int x, int y ) { COORD dwCursorPosition = { x, y }; SetConsoleCursorPosition ( GetStdHandle ( STD_OUTPUT_HANDLE ), dwCursorPosition ); }
My best code is written with the delete key.
Thank you very much
AdrianXW's site has a lot of tutorials for manipulating the console, too.
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie