Locate? :(

This is a discussion on Locate? :( within the C++ Programming forums, part of the General Programming Boards category; Hey, I was just wondering if there is a command that can locate postions (like in QB LOCATE). I'm sure ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    49

    Unhappy Locate? :(

    Hey, I was just wondering if there is a command that can locate postions (like in QB LOCATE).
    I'm sure there is, I just don't know what it would be.
    If you can help, please post on this board.
    Thanks alot for the help.

    -Kavity

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,659
    > if there is a command that can locate postions (like in QB LOCATE).
    Short answer - no.

    Long answer - depends on your compiler and OS - there is no standard way.
    For real DOS programs, there's gotoxy (see conio.h)
    For win32 console programs, see
    http://www.cprogramming.com/boardfaq.html#various
    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 support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    49

    Unhappy Dos.

    I wanna know how to do it in dos. :/
    Tcpp
    or DJGPP
    Or BORLAND 5.02
    or M$VC++ are the compilers i use..
    Thanks
    -Kavity

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Program can't locate resource when run outside IDE
    By IdioticCreation in forum C++ Programming
    Replies: 10
    Last Post: 03-31-2009, 09:41 PM
  2. Replies: 7
    Last Post: 02-01-2009, 03:53 PM
  3. Unable to locate txt file for ifstream opening
    By Swerve in forum C++ Programming
    Replies: 2
    Last Post: 04-19-2008, 11:55 AM
  4. locate funtion
    By DanC in forum C++ Programming
    Replies: 6
    Last Post: 03-13-2006, 02:21 PM
  5. Replies: 3
    Last Post: 10-08-2001, 12:21 AM

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