If this is your first visit, be sure to
check out the
FAQ
by clicking the
link above. You may have to
register
or
Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
hi, i have a c/c++ program that uses the header
graphics.h but cannot compile because of this error :
'include<graphics.h>' : No such file or directory
i'm really confused, i sometimes wonder if my compiler actually has graphics header file. i'm running this program from DOS using MS vc++ compiler. please help. thanx
Get
this small utility
to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
Supports C++ and VB out of the box, but can be configured for other languages.
I got the source from the net, but i think your comments make a good sense, cos the source was compiled using Windows 2000
Pro / Borland Turbo C++ 3.0. thanx a lot.
seemingly this graphics header was used to control the program output on the console.
now how do i control the output on the DOS command prompt console as i execute my program. which header file do i need and where can i get online resources on the usage of that header file.
The graphics.h header file was used to do 'high resolution' (pixel) graphics under DOS, using Borland's own graphics library. If you don't want to port the application to Windows (which will mean rewriting at least the graphical part), you should consider downloading Borland Turbo-C++ (it is available for free now) and use it to compile the application as a 16bit DOS program.
Get
this small utility
to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
Supports C++ and VB out of the box, but can be configured for other languages.
I have not seen any 32-bit console functions for graphics and I have not seen a 32-bit console application use graphics. I am nearly certain that 32-bit consoles do not support graphics, so it is necessary to either use a compiler that can create 16-bit DOS programs or convert the DOS program to Windows.
VC version 1.52c is the latest version of VC that could create 16-bit DOS programs but if that is used the program probably would need to be modified so it did not use graphics.h, which I do not see in the VC 1.52c include directory.
*
The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.
*
Porting from Android to Windows 8: The Real Story
Do you have an Android application? How hard would it really be to port to Windows 8?
*
Guide to Porting Android Applications to Windows 8
If you've already built for Android, learn what do you really need to know to port your application to Windows Phone 8.
*
HTML5 Development Center
Our portal for articles, videos, and news on HTML5, CSS3, and JavaScript
*
Windows App Gallery
See the Windows 8.x apps we've spotlighted or submit your own app to the gallery!
Advertiser Disclosure:
Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.