Thread: coordinates?

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

    Post coordinates?

    Hey all,

    Ok is it possible to draw out the entire screen (for example in ascii codes the borders) and put text in places then move back for input at set coordinates? Ex: a user login would have username and password already written out and maybe a nice border around the window but the cursor would be right after the Username: . Any ideas or methods is appreciated and thanks for your time in reading this.

    -RootniX

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    You dont mention what operating system. Windows has lots of functions that could do this. In console mode and dos most compilers offer some sort of gotoxy() function. Read the FAQ
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to get relative mouse coordinates when GLUT return absolute
    By joeprogrammer in forum Game Programming
    Replies: 14
    Last Post: 02-10-2009, 06:35 PM
  2. values into array based on coordinates
    By BabyWasabi in forum C++ Programming
    Replies: 1
    Last Post: 12-13-2006, 07:48 PM
  3. Global coordinates in OpenGL?
    By IcyDeath in forum C++ Programming
    Replies: 1
    Last Post: 11-25-2004, 06:29 PM
  4. Converting from Screen to World Coordinates
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 05-11-2004, 12:51 PM
  5. Size of 1 pixel
    By ooosawaddee3 in forum C++ Programming
    Replies: 4
    Last Post: 07-26-2002, 08:06 PM