Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Compile problem Help (http://www.go4expert.com/forums/compile-problem-help-t746/)

lieweffect 20Apr2006 17:38

Compile problem Help
 
1 Attachment(s)
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

coderzone 20Apr2006 20:11

Re: Compile problem Help
 
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.

lieweffect 21Apr2006 09:45

Re: Compile problem Help
 
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

coderzone 21Apr2006 11:01

Re: Compile problem Help
 
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.

lieweffect 21Apr2006 12:09

Re: Compile problem Help
 
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

coderzone 21Apr2006 14:29

Re: Compile problem Help
 
You have not provided all the files I guess. I can try compiling it on my system.

lieweffect 21Apr2006 14:41

Re: Compile problem Help
 
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

coderzone 21Apr2006 16:50

Re: Compile problem Help
 
From where you downloaded the code.

lieweffect 21Apr2006 18:28

Re: Compile problem Help
 
Quote:

Originally Posted by coderzone
From where you downloaded the code.

http://www.planetsourcecode.com/vb/s...=8881&lngWId=3

shabbir 21Apr2006 20:26

Re: Compile problem Help
 
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.


All times are GMT +5.5. The time now is 04:59.