Thread: How to move axis !

  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    112

    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.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    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.

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    112
    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.

  4. #4
    Registered User rogster001's Avatar
    Join Date
    Aug 2006
    Location
    Liverpool UK
    Posts
    1,472

    Faq

    SetConsoleCursorPosition()?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Tic Tac Toe Comp Move help
    By swgh in forum C++ Programming
    Replies: 5
    Last Post: 09-24-2008, 11:05 AM
  2. Forced moves trouble!!
    By Zishaan in forum Game Programming
    Replies: 0
    Last Post: 03-27-2007, 06:57 PM
  3. Replies: 2
    Last Post: 03-24-2006, 08:36 PM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM
  5. Formatting Output
    By Aakash Datt in forum C++ Programming
    Replies: 2
    Last Post: 05-16-2003, 08:20 PM