I need help getting started with graphics

I don't have any code because I have no idea where to start. I am told that c++ is very object oriented, but all the tutorials I find do not teach me how to use graphics. I've looked online, but they all say to use older versions of c++ which I'm not familiar with. I am using code::blocks as my IDE and the default compiler for it. can someone either provide me with a step-by-step tutorial or point me to one on how to get started with graphics in c++?

With all due respect looking at your post I would think you need to learn c++ first and discover what it has to offer, then and only then move onto graphics - the last thing you want to do is jump in with both feet and be confused to hell.

Simply downloading the DirectX SDK provides you with many examples on how to load and display graphics. OpenGL is another one which is cross platform compared to DirectX so depends on your plans for the platform.

"With all due respect" I have learned the basics, I have actually made my own calculator programs, conversion programs, and I am currently making a list of elements and information about them. I know what it has to offer, I'm just having problems with this. Now, unless you can help me with my problem I suggest we leave it at this.
2D or 3D graphics?

2D
SFML has some great tutorials and a very simple API.
Win32: This is a really good tutorial to get started with event-based programming http://www.winprog.org/tutorial/
Qt is good for professional GUIs. It's a bit harder to learn, but super-powerful.
MFC is the windows-method for GUIs, but is a bit tougher.

3D
DirectX is windows-only and I've heard it has some good tutorials and support
OpenGL is cross-platform, and might be a little tougher.
Last edited on
Thank you stewbound and miinipaa. you both have been helpful. I now have a page I can refer to if I ever need assistance again. I think for now, I am good. If anyone else has some helpful tips, I will be coming back to this page I think quite often.
closed account (N36fSL3A)
If I were you I'd stay away from MFC.
"With all due respect" I have learned the basics, I have actually made my own calculator programs, conversion programs, and I am currently making a list of elements and information about them. I know what it has to offer, I'm just having problems with this. Now, unless you can help me with my problem I suggest we leave it at this.


Apologies if you felt I was being rude, that was never my intention, but from the tone of your reply we will leave it here as you suggested.

Good luck with your project.





Topic archived. No new replies allowed.