Tuesday, December 29, 2009

Error msg in TC++ :'Fatal ..\INCLUDE\GRAPHICS.H 19: Error directive: BGI graphics not supported

I have a written a program for cubic spline interpolation which includes a graphics part where I display the graph of the interpolated polynomial.I was unable to take screenshots of this graph in TC++ 3.0 because it works in DOS mode.



So I thought of using Borland TC++ 4.5 in the Win XP environment.But when I try to compile the program it gives an error message:'Fatal ..\INCLUDE\GRAPHICS.H 19: Error directive: BGI graphics not supported under Windows'.



Please help me to solve this problem.



Error msg in TC++ :'Fatal ..\INCLUDE\GRAPHICS.H 19: Error directive: BGI graphics not supported under Windows'

call customer service about the probem it could be windows related



Error msg in TC++ :'Fatal ..\INCLUDE\GRAPHICS.H 19: Error directive: BGI graphics not supported under Windows'

ur ******...sorry....



Error msg in TC++ :'Fatal ..\INCLUDE\GRAPHICS.H 19: Error directive: BGI graphics not supported under Windows'

If TC++ 3.0 runs in a DOS window (or "command line interface," as we call it), doing Alt-Print Screen should put a screenshot onto the clipboard where you can then paste it into Paint (Start-Programs-Accessories-Paint).



Error msg in TC++ :'Fatal ..\INCLUDE\GRAPHICS.H 19: Error directive: BGI graphics not supported under Windows'

You can execute console DOS program under Windows but BGI (Borland Graphics Interface) drivers are DOS drivers and cannot be used with Windows. To use some graphics with Windows, you need either to use Windows GDI (Graphics Device Interface) -- or move to low level programming that means en essance creation of your own graphics drivers.



IIRC, Borland 4.5 has GDI support but - sorry - i am not 100% sure.

No comments:

Post a Comment

 
commericial loan