Click here to Skip to main content
15,908,674 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Graphics.h header is not recognized in visual studio 2010,and how we use this library in main
Posted
Updated 21-May-12 9:52am
v2
Comments
Sergey Alexandrovich Kryukov 17-Oct-12 16:01pm    
Short answer is: just forget it, this is obsolete and bad stuff, used long time ago when there was too little graphics codes available.
--SA

1 solution

I suppose you are asking about BGI graphics.
BGI is obsolete (it was part of Borland Turbo C/C++).
As far as I know you have two options:
  • Run turbo C/C++ using an emulation tool (like DOSBox[^]).
  • Forget about it a use Windows graphics libraries (like GDI or GDI+).
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 21-May-12 18:09pm    
Yes, it looks like the BGI; my 5 for the answer.
I would highly recommend the option #2.
Borland Turbo were great products, especially Turbo Pascal, but BGI was never anything serious even what it wasn't obsolete... and now getting back to if finally lost any sense.
--SA
CPallini 22-May-12 3:19am    
Thank you.
Anderso0on 22-May-12 2:32am    
in visual studio 2010 , what i can do ??
barneyman 22-May-12 3:01am    
if you stick with VS2010 then, as suggested, you're going to have to rewrite your application using windows GDI(+) calls, as a windows application
Anderso0on 22-May-12 16:54pm    
how rewrite appliction using GDI ????????????

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900