By default a terminal shows lines of text and appends new lines to the bottom. You want to draw one screenful of lines, erase them and draw again a bit differently (repeatedly), rather than just append new lines.
You could always create a GUI application with its own window, but I assume you mean a CLI application. The first option is to use some library (e.g. ncurses) that implements the desired control over terminal. The second option is to use primitives supported by the terminal. Many terminals support ANSI codes, but MS products are not among them.