Graphics in C++ Help

I have searched in many places and have failed to find a tutorial on how to display graphics in C++. How do you display images and manipulate them in C++? Thanks in advance!
Last edited on
Its actually quite pain staking to do graphics in C++. You can either do it by learning the low level APIs (OpenGL, DirectX, etc, take your pick).

Alternatively, you could learn a library for graphics, such as SFML.

http://www.sfml-dev.org/

C++ is not a language for doing small tasks on a computer. It is simply a general programming language, which means basically the only thing you can do on it, is program. Anything like interfacing graphics, sound, or etc, need to be done in other ways.
C++ is not a language for doing small tasks on a computer. It is simply a general programming language, which means basically the only thing you can do on it, is program. Anything like interfacing graphics, sound, or etc, need to be done in other ways.


By this do you mean that C++ isn't a good language to make a full out RPG video game with?
Last edited on
I have searched in many places and have failed to find a tutorial on how to display graphics in C++.

That's because C++ has no built-in graphics support. However, C++ is still a powerfull general purpose object-oriented programming language well suited to RPG games.

There are many graphics libraries available that make graphics programming easier. Some of these libraries are relatively low level OS or hardware APIs, while others are higher level and some have C++ object oriented interfaces. Some are Windows specific, while others are cross-platform. You need to decide what level of generality and control you want, verses the effort required to accomplish something.
The thing about c++ is the level of control it gives you. It can be very effective in making things like a RPG, but you have to deal with a lot of stuff to get it working.
What I'm saying is that, its not a good language if you just wanna display some lines on the screen, or draw a graph. But if you want to make a full-out game, c++ would be a good language. This is because of the high level of control c++ gives you.
On the contrary, C++ is quite possibly the best language for your RPG game. Excellent speed, high levels of control, ect. You can get real down and dirty, which is useful for programming something like a game.

Also, if you ever want to get into the games industry, they'll almost certainly be using good old C++.
Topic archived. No new replies allowed.