Click here to Skip to main content
15,892,737 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how I use graphics.h library in visual studio and what is the syntax for this library???
Posted
Updated 24-May-12 9:13am
v2
Comments
Sergey Alexandrovich Kryukov 24-May-12 15:07pm    
I don't know how you use it. Is it BGI? If so, just don't. :-)
--SA
Anderso0on 24-May-12 15:13pm    
you do not know any Reference I can take advantage of it
Sergey Alexandrovich Kryukov 24-May-12 16:33pm    
Please read my comment above. By they way, it contains a question.
--SA

See this similar discussion: How can I get into C++ graphics library?[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 24-May-12 16:34pm    
Right, a 5. In other words: forget graphics.h!
--SA
Sandeep Mewara 24-May-12 23:04pm    
Thanks SA.
C++ doesn't include graphics, you have to use a library (which is usually more than just a single header).

There's a few different options:
GDI, GDI+, DirectDraw, OpenGL, Cairo, DirectX, etc...

It depends on the complexity of what you want to achieve... things like GDI/GDI+ are too primitive to get you anywhere fast if you're trying to make something like a game, but if you're just trying to graph, they work just fine.
 
Share this answer
 

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