Thread: 'gotoxy' equivalent in Visual C++ ??

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    13

    Question 'gotoxy' equivalent in Visual C++ ??

    I'm afraid I'm a bit of a junior when it comes to C++, so please be patient with this very basic question!!

    What's the function (and header file) for positioning the text cursor, so that I can then use the printf function to place text at the desired x,y co-ords.

    I have been using Borland and the command was:

    gotoxy(int x, y) using the <conio.h> header file.

    However, I have now converted to Microsoft's Visual C++ (as I've heard it's better for games graphics) and I don't know what the equivalent command is.

    !!Help!! - cheers, Ad.

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  4. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 08:13 PM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM