Dos prompt cursor position

This is a discussion on Dos prompt cursor position within the C Programming forums, part of the General Programming Boards category; Hello! Making a simple database program. Going ok so far but, instead of using the /t/t/t option to get things ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,506
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Mad OnionKnight's Avatar
    Join Date
    Jan 2005
    Location
    Umeň, Sweden
    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, 10:27 PM
  4. DOS prompt disapearing
    By Zahl in forum Tech Board
    Replies: 6
    Last Post: 11-17-2002, 05:59 PM
  5. Dos Prompt
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 01-05-2002, 09:14 AM

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