Thread: Cursor Manipulation

  1. #1
    Do you C what I C? jamesallen4u's Avatar
    Join Date
    Oct 2011
    Posts
    43

    Question Cursor Manipulation

    Hello all,

    I was recently working on a project that basically gave all the information of a triangle when the user inputted the sides such as area, perimeter, angles, altitudes etc. I asked the user to input all three sides separately like this:

    Please input side one :

    Please input side two :

    Please input side three :

    As the user pressed inputted the result and pressed enter, each new question showed up and the cursor moved along with it. Now I was wondering if I could make all three questions show up at once, and just have the cursor move to each of the questions. Is this possible? Thanks.
    Linux Distro: Ubuntu 12.04
    Browser: Chromium

  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
    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
    Do you C what I C? jamesallen4u's Avatar
    Join Date
    Oct 2011
    Posts
    43
    Thanks, this helped.
    Linux Distro: Ubuntu 12.04
    Browser: Chromium

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Graphics and text and cursor manipulation
    By Nirose in forum C Programming
    Replies: 1
    Last Post: 11-12-2010, 11:12 AM
  2. how to hid cursor?
    By LeonLanford in forum C++ Programming
    Replies: 22
    Last Post: 10-01-2007, 12:37 PM
  3. How do you get rid of the cursor
    By zz3ta in forum C++ Programming
    Replies: 1
    Last Post: 12-09-2003, 03:15 PM
  4. cursor
    By Mr Learn in forum C Programming
    Replies: 1
    Last Post: 04-19-2002, 11:30 PM
  5. Cursor
    By Kukli in forum C++ Programming
    Replies: 0
    Last Post: 12-29-2001, 03:06 AM