开发者

Access the last line in console

开发者 https://www.devze.com 2023-03-05 18:48 出处:网络
I want 开发者_开发问答to access the last line of the console independent of the others. Only the possibility to write to/read from this last line is needed.

I want 开发者_开发问答to access the last line of the console independent of the others. Only the possibility to write to/read from this last line is needed.

If there is a working way using the seekg and tellg function of cin/cout or any solution using the some cstdio function i wasn't able to find it.

Greets


There's no way to do it with the standard library. You need an add-on package such as ncurses.

0

精彩评论

暂无评论...
验证码 换一张
取 消