Printing in a certain coordinate of the C++ Screen

I need help on how to display a string on a certain x,y coordinate of the C++ Screen.

Hope somebody can help me with this.
What is your OS? Windows or Linux?
I am using Windows XP and Dev C++ for my IDE.
1
2
3
HANDLE hStdOut = GetStdHandle ( STD_OUTPUT_HANDLE );
COORD pos = { X_POS, Y_POS }; // replace X_POS and Y_POS with actual coordinates
SetConsoleCursorPosition ( hStdOut, pos );

http://www.google.com/search?
btnI=1&q=msdn
+SetConsoleCursorPosition
Thanks you very much.
Topic archived. No new replies allowed.