C++

Miscellaneous Forums/General Discussion/C++

Most of you are just giving terrible advice. I'm not sure if you're intentionally trying to hinder this guy's learning what he said he wants to learn, but it certainly seems like it. Between Dreamora and Scuplture's spew and the few of you with close to no idea what you're talking about (Lumooja, Buggy), I'll be amazed if he learns anything.

In order of your questions:

1) You have any number of options, including SDL, Allegro, OpenGL, DirectX, or other libraries that use the last two, including Nebula, OGRE (I recommend avoiding that unless you know damn well what you're doing), Irrlicht, etc. You may be better off with Allegro since you don't even understand pointers.

2) This is pretty much dependent on the platform. In Windows, you'll have to get familiar with its API, under Linux you'll use X, under Mac OS I'm actually not sure. I believe Carbon had something to do with it, but you'd have to ask someone who writes code for Macs.

3a) Read The C++ Programming Language by Bjarne Stroustrup.

3b) Pointers are a confusing thing for me, because I have no idea how they can be confusing for other people. It's not as if they're incredibly complex, so I don't know what it is you're doing to make them so. As such, I think it would be best if you forget everything you think you know about pointers and started from scratch learning them.

3c) So, read the book written by the guy who created the language. Do this before you even bother attempting to do the first two. Doing those as you learn is fine, but not before you learn. That would just be stupid.