Results 1 to 3 of 3

Thread: ANSI C: Screen handling

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ilirska Bistrica, Slovenia
    Posts
    242

    ANSI C: Screen handling

    Hello!

    We're learning ANSI C in school and we need to make a project by ourselves.
    I got an idea and now I need some help (just a bit):
    Does someone know what functions shall I use for:
    -clear screen
    -change color of text
    -change color of background

    And there's another requrement:
    It has to work under Windows and LINUX!

    Zvonko
    Zvonko Bostjancic
    Ilirska Bistrica, Slovenia
    [email protected]
    Using VS6 Professional with SP3
    Programming mostly in VB and I've started to learn VC++ & MFC

  2. #2
    jim mcnamara
    Guest
    Esc[2J clears the screen where Esc = 27

    Here is a complete list of codes.

    http://viking.delmar.edu/Courses/CIS415L/ANSIsys.htm

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ilirska Bistrica, Slovenia
    Posts
    242
    Mhm, interesting... just what i needed

    But does it work under LINUX?
    Zvonko Bostjancic
    Ilirska Bistrica, Slovenia
    [email protected]
    Using VS6 Professional with SP3
    Programming mostly in VB and I've started to learn VC++ & MFC

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width