How can I print a string to the console at specific coordinates in C++?

后端 未结 7 1259
温柔的废话
温柔的废话 2020-12-01 15:24

I\'m trying to print characters in the console at specified coordinates. Up to now I have been using the very ugly printf(\"\\033[%d;%dH%s\\n\", 2, 2, \"str\");

7条回答
提交回复
热议问题