By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,920 Members | 1,226 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,920 IT Pros & Developers. It's quick & easy.

problem with my graphics.h file

P: 6
Dear all,
i am a beginner in c programming. i am trying my hand at simple graphics programs. On the linux platform the error message is that it cannot find the graphics.h file. And on the windows Turbo C platform it says that there is error in some lines of the graphics.h file. I tried een example programs also and with no succes. What could be the problem ? Where is the .bgi files in Fedora to give the proper path? do i need to load Turbo C again from somewhere else?
oormilarev
Dec 28 '06 #1
Share this Question
Share on Google+
3 Replies


Expert 100+
P: 1,510
Dear all,
i am a beginner in c programming. i am trying my hand at simple graphics programs. On the linux platform the error message is that it cannot find the graphics.h file. And on the windows Turbo C platform it says that there is error in some lines of the graphics.h file. I tried een example programs also and with no succes. What could be the problem ? Where is the .bgi files in Fedora to give the proper path? do i need to load Turbo C again from somewhere else?
oormilarev
post the program you are using and the error message you are getting.

Note that it is very unlikly that a TurboC program written for graphics.h (assuming that is what you are trying to do) would run using gcc on Fedora without modification.
Dec 28 '06 #2

P: 6
post the program you are using and the error message you are getting.

Note that it is very unlikly that a TurboC program written for graphics.h (assuming that is what you are trying to do) would run using gcc on Fedora without modification.
dear horace,
thanks for the reply. I am not using turbo C on fedora. It is just that i am trying the graphics programs on both the platforms as i am dying to see the output and am dissapointed with the errors on both. On fedora i do the gcc compiling and the message is that it cannot find the graphics.h file. While using turboC , i can see the graphics .h file is there but the error messages are with respect to the graphics.h file and not my program. maybe the file has got corrupted ?
oormilarev
Dec 28 '06 #3

vpawizard
P: 66
Hello,
The Turbo C supports some features not provided by ANSI-C like graphics(graphics.h), conio.h, etc. gcc is the one of the most ANSI compliant compiler. It does not have graphics.h file. So, your graphics program wont run on Linux m/c.

Regards,
Dec 29 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.