conio.h-graphics.h in Dev _C++

Status
Not open for further replies.

mhamini

Member level 1
Joined
Aug 23, 2005
Messages
40
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Iran-Tehran
Activity points
1,690
graphics.h dev c++

Hi everyone!I am a classical newbie.I am programming in typical ANSI C and i am using the Dev -C++. I'd like to ask where i can find those two libraries (conio.h,graphics.h), how to install them and if you could tell me some more information about how they work or can be used.
 

dev c++ graphics.h

**broken link removed**

Why can't I use conio.h functions like clrsrc()?
Because conio.h is not part of the C standard. It is a Borland extension, and works only with Borland compilers (and perhaps some other commercial compilers). Dev-C++ uses GCC, the GNU Compiler Collection, as it's compiler. GCC is originally a UNIX compiler, and aims for portability and standards-compliance.

If really can't live without them, you can use Borland functions this way:
Include conio.h to your source, and add C:\Dev-C++\Lib\conio.o to "Linker Options" in Project Options (where C:\Dev-C++ is where you installed Dev-C++).
Please note that conio support is far from perfect. I only wrote it very quickly.
 

graphics h dev c++

why are these so important for u?is everything with DevCpp is not enough ?
 

graphics.h in dev c++

you can use ncurses library. it's portable.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…