C Board  

Go Back   C Board > Platform Specific Boards > Windows Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 01-24-2010, 05:03 AM   #1
Registered User
 
Join Date: Mar 2009
Posts: 102
Exclamation How to move axis !

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.
Fatima Rizwan is offline   Reply With Quote
Old 01-24-2010, 05:11 AM   #2
and the hat of Jobseeking
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,650
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.

Salem is offline   Reply With Quote
Old 01-24-2010, 05:20 AM   #3
Registered User
 
Join Date: Mar 2009
Posts: 102
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;
I want this text to appear at the centre of screen.
Fatima Rizwan is offline   Reply With Quote
Old 01-24-2010, 08:57 AM   #4
Registered User
 
rogster001's Avatar
 
Join Date: Aug 2006
Location: Liverpool UK
Posts: 436
Faq

SetConsoleCursorPosition()?
rogster001 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tic Tac Toe Comp Move help swgh C++ Programming 5 09-24-2008 11:05 AM
Forced moves trouble!! Zishaan Game Programming 0 03-27-2007 06:57 PM
Incorporating en-passant and Castling into a chess program mac025 C Programming 2 03-24-2006 08:36 PM
Request for comments Prelude A Brief History of Cprogramming.com 15 01-02-2004 10:33 AM
Formatting Output Aakash Datt C++ Programming 2 05-16-2003 08:20 PM


All times are GMT -6. The time now is 02:27 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22