Hey guys, I have a question about the Gotoxy function.
gotoxy(0,10);
cout << "Martin";
Without doing string a = "Martin"; gotoxy(0,10); cout << a; ....
Is there a way to create a variable (string) who would get the 5 caracters of the output Martin at position (0,10) and initialize it to the variable?
ex)
gotoxy (0,10);
read ou get (value of the 5 caracters or all the line);
set (the values in a variable);
Thank you.
See also:
http://www.cplusplus.com/forum/general/33846/