where is the file conio.h

Craig Rodrigues rodrigc@attbi.com
Wed Mar 6 07:22:00 GMT 2002


On Wed, Mar 06, 2002 at 03:11:15PM +0000, samir idrissi wrote:
> Where the file conio.h ?

GCC does not come with such a header file.
This header file typically comes with DOS/Windows based
compilers from Borland and Microsoft.

> I need the function clrscr() ( to clear the screen ), whith
> TURBO C++ this function is in the library conio.lib.
> whith the gcc what is the equivalent to this function ?

What platform are you on?  DOS/Windows, Unix, Linux, other?

GCC does not come with such a header file, so you
would need to look for a library with an equivalent
function, such as curses, which comes with many Unix systems,
or ncurses (http://www.gnu.org/software/ncurses/ncurses.html).
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@attbi.com



More information about the Gcc mailing list