Starting C++

Sep 3, 2008 at 3:21pm
Hello, I would like to start learning C++ to get a head start on college because I'm an easy learner. I know a sort of 'little brother' programming language known as 'GML' which I see has a lot of similarities with C++.

I was just wondering if the tutorial provided on this site would be sufficient information for perhaps programming a game, and if not are there any C++ books anyone could suggest?

I was also wondering if there's a certain program you need to input C++ code or run it as a .exe or something.

Thankyou for your time and thanks in advance for any help :)
Last edited on Sep 3, 2008 at 3:24pm
Sep 3, 2008 at 4:09pm
The tutorials on this site are a good starting point. To make games you will need to learn and use some kind of game/graphics library like SDL, OpenGL, DirectX, or Allegro. I strongly suggest learning all the C++ stuff on this site first before delving into graphics at all - you need to understand all the important concepts in the language and Object Oriented principles before getting into that stuff. You will need to make some programs along the way that make use of all the stuff you learn in the tutorials if you want to have any chance of actually solidifying that stuff in your memory.

As for the IDE (the program you input your code into), I would suggest Code::Blocks, although Visual C++, Eclipse, and Dev-C++ are also options. Personally, I would avoid Dev-C++ since it is very old and is no longer maintained. Code::Blocks is good because it is not overly bloated, it is easy to set up, and yet it has everything you need. If you don't have a compiler yet, make sure to download the version of Code::Blocks that comes with MinGW (a compiler).
Sep 3, 2008 at 6:15pm
I'm moving on to C++ from GML too :D

if I were you i'd read through the lessons on this site first, and make sure you understand them all, then make a text based game.
Sep 4, 2008 at 3:46pm
*cough* And, after study all the tutorials in this site, look here:
http://www.libsdl.org/
http://lazyfoo.net/SDL_tutorials/index.php

And... Do I know you two? You are members of a... forum about Megaman? (just asking)
Sep 4, 2008 at 6:01pm
Thanks for the tutorial links. No idea about megaman though.
Sep 4, 2008 at 7:04pm
I was talking to Beef (sorry if this seems rude...)...
Topic archived. No new replies allowed.