Compile problem Help

lieweffect's Avatar, Join Date: Apr 2006
Contributor
I'm facing a trouble when I compile a program...
The following error message appear...graphics.h. No such file or directory
I having try to put the header into the same folder and the "Include" folder there.
But still cannot work.
Could anybody please help me to compile the program and make it an execute program and send to my e-mail: lieweffect@yahoo.com
Million Thousand of Thank You
Attached Files
File Type: zip AIRPORT.zip (5.2 KB, 4 views)
0
coderzone's Avatar, Join Date: Jul 2004
Team Leader
You have the code as
#include <graphics.h>
Which means it will look into the include folders defined in the IDE. What IDE you are using to compile the program.
0
lieweffect's Avatar, Join Date: Apr 2006
Contributor
I have try to code as #include "graphics.h" when the header file is in the same folder.But still cannot work. I using the Dev-C++ to compile the program. Futhermore, there have a lot of error after compile. Could you please help me to fix these error and make as execute program to me.Thank You

Last edited by lieweffect; 21Apr2006 at 10:09..
0
coderzone's Avatar, Join Date: Jul 2004
Team Leader
I dont have Dev-C++ but if you change to #include "graphics.h" and then also if it could not find then probably you need to be inserting it into the project or something like that for the compilation.
0
lieweffect's Avatar, Join Date: Apr 2006
Contributor
Quote:
Originally Posted by coderzone
I dont have Dev-C++ but if you change to #include "graphics.h" and then also if it could not find then probably you need to be inserting it into the project or something like that for the compilation.
Could your compiler run program? If can can you make an execute program and send to me.
Thank You
0
coderzone's Avatar, Join Date: Jul 2004
Team Leader
You have not provided all the files I guess. I can try compiling it on my system.
0
lieweffect's Avatar, Join Date: Apr 2006
Contributor
Quote:
Originally Posted by coderzone
You have not provided all the files I guess. I can try compiling it on my system.
Actually, the code is downloaded from web, there is only one cpp. file only. If possible can you make an exe. file to me
Thank You
0
coderzone's Avatar, Join Date: Jul 2004
Team Leader
From where you downloaded the code.
0
lieweffect's Avatar, Join Date: Apr 2006
Contributor
Quote:
Originally Posted by coderzone
From where you downloaded the code.
http://www.planetsourcecode.com/vb/s...=8881&lngWId=3
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
This is not meant for working in the windows based compilers. You try compiling it in Turbo C3 or Turbo C 2 Dos based compilers.