You should look up the function
WriteConsoleOutput
It is pretty fast, as it does a ton of things in a single call. Its good for writting stuff to specific areas of the screen, i suggest you wrap it up in a small gameconsole engine.
Console Clear Screen
I beleive there is a function in conio.h (C runtime) called clrscr() but I haven''t used that for ages, and I havent tried it in a console window.
I''m new to C++, so this might be a bad idea, but why not just SetConsoleCursorPosition? You could inline it, then call it easily. Or is that too flickery?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement