Thanx for the help. I should be able to figure this out now.
I am assuming that the top left hand corner is {0,0} For X,Y coordinates.
Okay so I figured out that is right. Now here is what I have.
void GameMain(fstream &DataFile, COORD &CursorPos) { while ( GameArea != 0 ) { //Code to contain all the areas and gaming within GameMain //When Area is equal to Zero Game is over while ( GameArea == 1 ) { //Code to contain area within area one system("cls"); SetConsoleCursorPosition(Console, CursorPos); cout << "Welcome " << MainPlayer.Name; cout << ", this is just a test for the main game area\n"; CursorPos.X = 0; CursorPos.Y = 10; SetConsoleCursorPosition(Console, CursorPos); cout << "To tell where what is what\n"; GameArea = 0; } while ( GameArea == 2 ) { //Code to contain area within area two GameArea = 0; } while ( GameArea == 3 ) { //Code to contain area within area three GameArea = 0; } while ( GameArea == 4 ) { //code to contain area within area four GameArea = 0; } }}
But, instead of making 10 spaces between the first line and the second. It places the first line at the x,y coordinates of 0,10. Would you need to declare a new COORD variable for each. That would seem to make it take up alot of useless space.
~~Johnathan~~LTM my new fad, know it, use it, love it, LAUGHING TO MYSELF