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..
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.