Thread: Dos prompt cursor position

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    1

    Dos prompt cursor position

    Hello! Making a simple database program. Going ok so far but, instead of using the /t/t/t option to get things lined up
    I want to specify a co-ordinate for the cursor to move to so it owuld look like it is at the end of a word like so

    Client no : (cursor sits here)
    tel no : (next record so cursor moves here)

    Anyone know how to do that>? Many thanks

  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
    There's something in the FAQ
    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 OnionKnight's Avatar
    Join Date
    Jan 2005
    Posts
    555
    gotoxy() should do it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling from DOS Prompt using Visual Studio Express 2005
    By The SharK in forum C++ Programming
    Replies: 8
    Last Post: 06-13-2006, 01:24 AM
  2. dos prompt disappearing
    By darealnash in forum C++ Programming
    Replies: 18
    Last Post: 09-02-2004, 12:47 PM
  3. Output in DOS Prompt
    By siumui in forum C Programming
    Replies: 4
    Last Post: 12-06-2002, 11:27 PM
  4. DOS prompt disapearing
    By Zahl in forum Tech Board
    Replies: 6
    Last Post: 11-17-2002, 06:59 PM
  5. Dos Prompt
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 01-05-2002, 10:14 AM