Hi
I just installed Code::Blocks, and i am just learning how to code ... however this simple code below gives erros ....
#include <stdio.h>
#include <graphics.h>
#include <conio.h>
int main()
{
return 0;
}
coddeblocks graphics.h: No such file or directory|
How can i resolve this and such futures header files i may need.
Quote from: kaloxy on April 20, 2009, 10:56:49 AM
coddeblocks graphics.h: No such file or directory|
- get the SDK's you need (those who provide the header and probably library files)
- install / extract the files to a place as you like
- setup the include path's for the compiler and linker correctly in your project options
BTW:
graphics.h is not a default C/C++ include file. I don't know what framework it belongs to - you need to figure out yourself. C::B cannot and will not ship with each and every framework (as every other IDE does not, too). It just provided you with the MinGW/GCC compilers and files.
graphics.h is an old Borland Turbo C++ or Borland C++ header file support graphics in MS-DOS.
Also, someone has created a version for running in windows. You can search it by Google.
#include <graphics.h>
#include <conio.h>
are the TCC header from borland
i think you can find what u are seeking in this site
http://www.delorie.com/djgpp/ (http://www.delorie.com/djgpp/)
:D