Thread: hmmmm!

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    1

    hmmmm!

    i started programming in qbasic!! - fun!

    Well i have just started learning c and wld really like to know if you can specify where something gets printed on the screen.

    could really use the help its important piece of course work!!!

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    5
    If you are using UNIX you may find this helpful...

    I found this on a web FAQ:

    How can I move the cursor around the screen? I want to do full screen editing without using curses.

    Seriously, you probably don't want to do this. Curses knows about how to handle all sorts of oddities that different terminal types exhibit; while the termcap/terminfo data will tell you whether any given terminal type possesses any of these oddities, you will probably find that correctly handling all the combinations is a huge job.

    However, if you insist on getting your hands dirty (so to speak), look into the termcap functions, particularly tputs(), tparm() and tgoto(). If you are using Unix, type man tputs or man tparm, etc.

    here is the site:
    http://www.erlenstar.demon.co.uk/unix/faq_4.html

    good luck...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Piracy?
    By jinx in forum A Brief History of Cprogramming.com
    Replies: 41
    Last Post: 04-02-2002, 03:38 PM
  2. How to input multiple groups of data
    By Unregistered in forum C++ Programming
    Replies: 8
    Last Post: 02-14-2002, 10:17 PM
  3. whats wrong with this code?
    By Unregistered in forum C Programming
    Replies: 9
    Last Post: 02-03-2002, 05:28 AM
  4. ASM anyone? Hmmmm?
    By Sebastiani in forum C++ Programming
    Replies: 2
    Last Post: 09-15-2001, 09:17 PM