![]() |
|
#1
|
|||
|
|||
equivalent of clrscr() on unix/linux??Hi,
Like clrscr() on windows platform which function should i use to clear the display screen on Unix platform?I am using Linux with gcc complier. Thanks, |
|
#2
|
|||
|
|||
|
Quote:
If, on a command line, you enter clear It should clear the screen. (If it works, it means that there is an executable on the default $PATH, typically /usr/bin/clear.) If it works, then in your C or C++ program you can have the following: CPP / C++ / C Code:
and it will do the same thing as entering the command from a command line. Regards, Dave |
Recent GIDBlog
Meeting the local Iraqis by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help on setsid() [Only for UNIX/Linux users] | nusstu | C Programming Language | 3 | 03-Apr-2004 09:21 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The