Jump to content

  • Log In with Google      Sign In   
  • Create Account


C++ Tutorials?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 RussDawgUnlimited   Members   -  Reputation: 121

Like
0Likes
Like

Posted 05 November 2012 - 08:31 PM

So I'm just starting to learn C++ and I was just inquiring about some good C++ tutorials? Preferably ones that are most up to date. I've been watching a beginner video series hosted by Xoax, and its pretty good about covering essentials but I'm wanting a little more and I just can't seem to find any good ones so far from my google searches. Would be much appreciated!

Thanks in advanced guys! (In case I dont stop by for a while) Posted Image

Sponsor:

#2 Scyles   Members   -  Reputation: 101

Like
0Likes
Like

Posted 05 November 2012 - 11:09 PM

http://www.cplusplus.com/
Is a pretty good starting point with a decent tutorial to get you going. Also very useful as a reference for later on.

#3 jbadams   Senior Staff   -  Reputation: 17751

Like
1Likes
Like

Posted 05 November 2012 - 11:10 PM

I normally recommend the book "C++ Primer" (5th edition), but if you're after an online tutorial learncpp.com seems pretty good. You could also try Thinking In C++, which is available free online but hasn't been updated to reflect C++11 features.

#4 muratsal   Members   -  Reputation: 141

Like
0Likes
Like

Posted 06 November 2012 - 02:45 AM

there are many c and c++ tutorias here http://www.cprogramming.com/tutorial/c++-tutorial.html
my map aplications http://haritaaraci.com

#5 Yrjö P.   Crossbones+   -  Reputation: 1412

Like
0Likes
Like

Posted 06 November 2012 - 04:48 AM

there are many c and c++ tutorias here http://www.cprogramm... -tutorial.html

Cursory inspection shows those to be bad, "C with classes" tutorials. C way presented before C++ way, pointers and C library functions everywhere, iterators and algorithms not even mentioned.

Koenig's Accelerated C++ is the opposite, a really good book that teaches C++. It's a bit old, but still valid. C++11 just makes a few things easier.
Just to give you an idea of how different the approach is, Accelerated C++ only starts discussing arrays, pointers and dynamic memory allocation in chapter 10, around page 200. And how does it introduce these things?
"An array is a kind of container, similar to a vector but less powerful. A pointer is a kind of random-access iterator that is essential for accessing elements of arrays, and has other uses as well."
Note that the reader has already learned to use containers, iterators, classes and templates before this point! Chapter 11 walks the reader through the construction of a Vec container template, like a poor man's version of std::vector, as an example of a situation where dynamic memory allocation is actually necessary.

#6 Serapth   Crossbones+   -  Reputation: 5263

Like
0Likes
Like

Posted 06 November 2012 - 12:14 PM

I am rather partial to my own ( see sig. ) Actually I suppose I need to think long term and realize that sig's change and web pages are forever... so see here.

This tutorial assumes you have minor C++ skills, know the basics like what a variable is, a for loop etc. Otherwise its a (currently) 10 part series that walks you through making a C++ game from scratch using SFML.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS