Just wanted to know how to move the axis , I want my program text appear at the centre of the window, I m workin on visual C++ 2010 beta.
Just wanted to know how to move the axis , I want my program text appear at the centre of the window, I m workin on visual C++ 2010 beta.
Moved to Windows forum.
And be more specific - how are you drawing it in the first place?
30 to 50 lines of relevant code will draw a lot more help than a 1-line description.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I want this text to appear at the centre of screen.Code:cout<<"Press number for required drive\n"; cout<<"1:---------------- DRIVE C\n"; cout<<"2:---------------- DRIVE D\n"; cout<<"3:---------------- DRIVE E\n"; cout<<"4:---------------- DRIVE F\n"; cin>>choice;
SetConsoleCursorPosition()?