Which line should I use for game programming?

I am a C++ programmer and I have been learning it for 1 years.. Now I think I know C++ bit good.. But I can only solve problems in command prompt.. About GUI I about a lots of libraries such as sfml,opengl,qt,wxsmith,win32api etc.

But in my codeblocks I have tried api's of above and followed their respective tutorials but every time when I'm going to compile them, my IDE showing me errors
Example: "at opengl(freeglut) its telling indifiend classes, cant detect more and more....."

I beg you guys.. Please tell me the line for game programming once again, which mistake I am doing every time if you know.. Please..
Sounds to me that you're unable to succesfully setup the libraries.

There are plenty of guides to do so. Take SFML for example. Here is a tutorial on their website -
http://www.sfml-dev.org/tutorials/2.3/start-cb.php

There are also plenty of youtube videos showing how to setup SFML with codeblocks, here is an example - https://www.youtube.com/watch?v=vt0CiMGzBo8
Whats the diffrence between binaries and source code of sfml?
The difference between the two is that the binaries are prebuilt whilst the source code isn't.

The direct source code is useful if you you're making changes SFML itself, or if there incompatibilities with your compiler/compiler version that you may only fix by recompiling the library. The binaries are useful if you're using the same compiler/compiler version that the binaries were built with, and just don't want to bother yourself with building your own (which is, in itself, a relatively involved process).

You should be fine with the prebuilt binaries, but if you're having compiler issues, you'll probably have to build them yourself.
Maybe I'm downloading source codes, thats why my codes arent working..
So from where would I download sfml/opengl/directx binaries?
Which one is better for game development?
I have construct2 game engine for 2d devlopment so now I want to learn 3d..
Well. You'll have to choose between openGL and directX. There are many differences and advantages/disadvantages in which you can read about online. I personally chose openGL, and since it is only a rendering API, you will have to combine it with SFML/SDL etc.

Im right now using SFML and OpenGL and it's kinda great.

You can download SFML from here - http://www.sfml-dev.org/download/sfml/2.3.2/
In the video I showed you in my first post in this thread he tells you more on what to download.

If you want to learn openGL you should learn modern OpenGL and not the ancient one. This website is fantastic for that - http://learnopengl.com/

And this 100+ video tutorial on it is also great - https://www.youtube.com/playlist?list=PLRwVmtr-pp06qT6ckboaOhnm9FxmzHpbY
Umm It would be a noob like question but still asking
What is rendaring? I know now nothing about it...
Topic archived. No new replies allowed.