clearing the screen

This is a discussion on clearing the screen within the C Programming forums, part of the General Programming Boards category; hello guys, i was just wondering of what is the best way of clearing the screen. when i went through ...

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    181

    clearing the screen

    hello guys,

    i was just wondering of what is the best way of clearing the screen. when i went through the faq it tell me thats lost mnay ways to clear the screen. but as the 'C' language is machine independent what is the best way to clear the user screen. and it also said that not use system() which is not a good practive for celearing a screen with the paramter as cls or clear command into the system function. and they have also said that to use the clrscr() which windows console function which dosent work in my system ( i use DEv-c++).

    any help will appreciated

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Yes, the C language is machine independant. However, as you may or may not know, screens are not "machine independant". So how on earth could there be a standard way to clear the screen?

    And why in the hell is there yet another thread on this topic?

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    7
    Dev-C++ FAQ
    http://www.bloodshed.net/faq.html#12
    12. I am having problems using Borland specific functions such as clrscr()

    Include conio.h to your source, and add C:\Dev-C++\Lib\conio.o to "Further Object Files" in Project Options (where C:\Dev-C++ is where you installed Dev-C++)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Feedback: Functional Specification Wording
    By Ragsdale85 in forum C++ Programming
    Replies: 0
    Last Post: 01-18-2006, 04:56 PM
  2. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 PM
  3. i am not able to figure ot the starting point of this
    By youngashish in forum C++ Programming
    Replies: 7
    Last Post: 10-07-2004, 03:41 AM
  4. Clearing the screen joking :)
    By marell in forum C Programming
    Replies: 16
    Last Post: 03-22-2004, 12:52 PM
  5. Clearing the screen
    By Shadow in forum C Programming
    Replies: 4
    Last Post: 05-23-2002, 02:40 PM

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