Clear screen question

This is a discussion on Clear screen question within the C Programming forums, part of the General Programming Boards category; I want to clean part of the screen but not the whole screen , how can I do it ?...

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    7

    Clear screen question

    I want to clean part of the screen but not the whole screen , how can I do it ?

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,451
    You've yet to say in ANY of your posts which OS/Compiler you're using.

    C doesn't even care if you have a screen, so there is no standard way to do what you want.
    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
    Registered User
    Join Date
    Jan 2007
    Posts
    7
    I use DEV C++

  4. #4
    Fear the Reaper...
    Join Date
    Aug 2005
    Location
    Toronto, Ontario, Canada
    Posts
    625
    That covers one thing. OS now ?
    Teacher: "You connect with Internet Explorer, but what is your browser? You know, Yahoo, Webcrawler...?" It's great to see the educational system moving in the right direction

  5. #5
    ... kermit's Avatar
    Join Date
    Jan 2003
    Posts
    1,528
    Quote Originally Posted by simonleo27
    I want to clean part of the screen but not the whole screen , how can I do it ?
    Tell the computer to clear part of the screen, but not all of it.

  6. #6
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,451
    So you need to read the FAQ, find the clrscr() entry and scroll down to the end where it talks about the win32 console API.
    Then you need to read up on those functions and implement the functionality you require.
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Clear Screen Again!!!
    By trang in forum C Programming
    Replies: 3
    Last Post: 12-13-2003, 07:36 AM
  2. Yet another clear screen thread :D
    By kermit in forum Linux Programming
    Replies: 2
    Last Post: 11-20-2003, 04:14 AM
  3. How to clear the screen?
    By Zopyrus in forum C++ Programming
    Replies: 8
    Last Post: 11-07-2003, 09:20 PM
  4. clear screen code, can't get it to work
    By Unregistered in forum C++ Programming
    Replies: 11
    Last Post: 01-25-2002, 12:38 PM
  5. Clear Screen
    By evilmonkey in forum C++ Programming
    Replies: 6
    Last Post: 11-07-2001, 05:18 PM

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