cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Refresh console without printing every t
Refresh console without printing every time
Jan 18, 2019 at 11:00pm UTC
RustyJoe
(11)
Hi, I'm writing a little game. The "playground" is a matrix and player has to move trough it so I'm questioning if exist a way to refresh the console to visualize the player's moves on the matrix without printing it every time.
Thanks
Jan 18, 2019 at 11:08pm UTC
mbozzi
(3934)
Does there exist a way to refresh the console to visualize the player's moves on the matrix without printing it every time.
Yes - use a TUI library such as
ncurses
.
http://www.tldp.org/HOWTO/NCURSES-Programming-HOWTO/
Jan 20, 2019 at 2:27pm UTC
RustyJoe
(11)
@mbozzi Thanks a lot for your answer.
Topic archived. No new replies allowed.