Page 1 of 1

C++

Posted: Sun Jul 26, 2009 11:18 pm
by Magermeister
So I've recently become interested in programming, and I want to start learning C++. Can anyone recommend their favorite books or resources? It'd be nice if it was oriented towards beginners, since I'm a muggle dabbling in magic.

Posted: Mon Jul 27, 2009 12:12 am
by Xephos
Pro Tip: Don't learn C++

Just ask Agbar

Posted: Mon Jul 27, 2009 7:27 am
by Kommisar
Do you know any other programming languages?

C++ is a beast to take on as your first one... if you've never learned to think in algorithms before, I might start with Visual Basic or Java... or even Pascal (which is structurally very similar to plain old no bells and whistles C... but has more rules).

Posted: Mon Jul 27, 2009 1:50 pm
by Magermeister
I'm just a straight beginner, and haven't learned any other programming languages yet. I'm starting work writing/editing gaming reviews, and I'd like to expand my horizons; so I'm thinking that programming would be a good avenue. While speaking to people so far, I've been referred to Java, C, and Pascal. I heard that college freshmen in computer science usually start with C, so I was thinking it would be a good pick.

Posted: Mon Jul 27, 2009 3:17 pm
by Xephos
For me at least, Java was probably the easiest to learn. It has a nice beginners learning curve and you can do many things with it. Then again, I had to take two classes on it, so it could be different from a classroom setting to just learning from home.

I don't think I began taking C++ until after my Computer Algorithms class, like what Kommi said. I'm not sure if that class helped any, it was more the fact that I just didn't like C++ (ISO or CLI).

Posted: Mon Jul 27, 2009 5:31 pm
by remagi
I learned C++ as my first object oriented language. As long as you dont immediately start diving into polymorphism or bizarre inheritance schemes, it's completely able to teach you how OO works. Java and C# are both somewhat better about driving home data binding to an object, but you can just write good C++ code and get the same thing.

In terms of what games are written in, if you are talking console or PC titles, they are overwhelmingly in C and C++ as languages. Web based delivery is often in Java or Flash (Flash is a TERRIBLE programming language, as it confuses the visual characteristics of display with ownership of state and execution sequence, and in any real programming system they should be only marginally related).

The definitive resource is Stroustrups "The C++ Programming Language" as he is, after all, the guy who invented it. I would also highly recommend "Effective C++" as a great conceptual and basic semantics guide.