Advertisement Jump to content


This topic is now archived and is closed to further replies.


Graphics in C++

This topic is 6325 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey all, I have been studying C++ for a while, and I have 2 books published in ''99 about C++, both of them give different ways to draw simple lines and circles. But none of them work, and I put exactly the same code im my compiler, which is MSVC++ 7.0 or something like that. and VC++ doesnt have the graphics.h library, does it use another library for graphics, or do I have to download it from some site. Any answers appreciated. Sincerely Me.

Share this post

Link to post
Share on other sites
MSVC++ 7.0 is out? If you want to make graphics, you should probably learn an API like OpenGL or Direct X.

I have searched for books that teach how to make graphics in C++ and unless you use the WinAPI, OpenGL, Direct X, or some other API, your probablu not going to find anything.

Share this post

Link to post
Share on other sites
The books your using probably won''t help much. If they do talk
about windows graphics it won''t realy be much to go on. Graphics
prog. is such a big topic that they require entire books of their
own. If You have C++ nailed down grab a book on directx or OpenGL.
A good book will have everything you need including the SDK. If
you can''t spend 50 to 70$ right now go and read the books at the
book store. You won''t have it at home or be able to use anything
on the CD but you will get a head start on what you need to know.
It might take a little while to let a few of the concepts sink in
so the sooner the better. Everyone here will probably tell you
the same thing, learn DirectX or OpenGL for graphics. You won''t
have any problem finding support on ether one pick one and dive in.

Share this post

Link to post
Share on other sites
Books for API''s:

OpenGL Game Programming for OpenGL, and Beggining Direct 3D Game Programming or The Zen of Direct 3D Game Programming for Direct X.

Check out the books at:

They are the best books around.

Share this post

Link to post
Share on other sites
The file "graphics.h" was part of an old and horrible graphics library called the BGI. It was only packaged as part of older Borland compilers, I'm not sure if the newer versions have it anymore. But, anyway, you don't want to use the BGI . Use a good API like OpenGL, DirectX, SDL, et cetera.

[Resist Windows XP's Invasive Production Activation Technology!]

Edited by - Null and Void on September 23, 2001 5:04:03 PM

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!