'gotoxy' equivalent in Visual C++ ??

This is a discussion on 'gotoxy' equivalent in Visual C++ ?? within the Game Programming forums, part of the General Programming Boards category; I'm afraid I'm a bit of a junior when it comes to C++, so please be patient with this very ...

  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,825

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, 01: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, 09:57 AM

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