Re: [Dev-C++] easy start program for beginners that works.....
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Nurhidayat <dh...@ma...> - 2001-08-23 09:00:44
|
At 09:31 PM 8/15/01 +0200, you wrote: >Is there a function similar to the clrscr() in Turbo C++ ? >In Linux GCC compiler uses the NCURSES library, and in Windows console apps ? Yes, I use conio.h with Dev-C++ If you've downloaded Dev-C++ 4, there is conio.c and conio.h in /include folder. These files contain some functions like Borland's conio. You can include conio.c file when coding at the header: #include "conio.c" I think it's not enough. Function like kbhit is not work properly. You must download new binary and runtime-library from MingW. You will find conio.h and work like Borland's conio (Please rename your first conio.h from dev-c++ before copying new conio.h from MingW). Kbhit work properly, but some function that contained by Dev's conio is not contained by MingW's conio. You can modify it to become nearest feature to Borland's. ___Nurhidayat___ |