Clearing Console and resetting

Okay so I did some research and I've read lots information about why not to use system("anything") and I found a way to clear the Console:
 
  cout << string( 100, '\n' );


but now when I enter a string into the console its way at the bottom of the screen.. is there a way to reset the target input to be back at the top? Or I'm I going to just have deal with it?
I'm still open to a solution but in the mean time what I have done is added spaces below each menu it outputs .. witch sets the output at the top and my input at the bottom

1
2
3
4
5
6
7
8
void Game::Help()
{
	cout << "===== HELP =====" << endl;
	cout << "/help - list commands" << endl;
	cout << "/quit or /exit - closr program" << endl;
	cout << "/add - add 2 numbers" << endl;
	cout << string(20, '\n');
}
Thanks Duoas!! It worked! and I simple just added a ClearScreen() in my Game class!

Is there code that changes the size and colors doing it the right way?
If you mean to change the size of the console window -- your program should not do that (and Windows makes it extremely difficult to do that) -- that's your user's prerogative.

If you mean to change the size of some menu -- then you can certainly write routines that will do things like draw a 'box' of a specific size and center text in it.

Links to stuff about colors in windows.
http://www.cplusplus.com/forum/beginner/75170/#msg403047

Also read the notes about color availability here. It applies to both Windows and *nix.
http://www.cplusplus.com/forum/general/11032/#msg52049

Hope this helps.
Topic archived. No new replies allowed.