News for hackers. Stuff that matters.

Ask HN: Is there something similar to "Learn Python The Hard Way" for C++

I've completed LPTHW and I was hoping to move onto C++. Is there anything similar to LPTHW for C++ because I've found it the easiest to learn from. I get bored from books and learning individual features of a language but it's easier and fun to learn by projects and examples.

Can you help me out? :)

Cheers.

( 6 comments | 9 points | on HN )
Re:Ask HN: Is there something similar to "Learn Python The H... by zedshaw on Monday December 26, 2011 @02:27PM (#3393684)
There's nothing for C++, but I have started a book for C:

http://c.learncodethehardway.org/

Why don't you go through what I've written so far and learn the basics of C. Doing that will give you a good understanding of the foundations of C++. While C++ is a fairly different language in a lot of ways, its backwards compatibility with C means that a lot of the same issues exist. Understanding C will then make it easier to get through C++ (or Objective-C).

Re:Ask HN: Is there something similar to "Learn Python The H... by Spock on Tuesday December 27, 2011 @10:11AM (#3395975)
Hey Zed!

I made a start on your Learn C The Hard Way but after reading several comparisons I believe C++ is better to learn without learning C first. And I believe C isn't a very strong language.

No chance of you starting a C++ one? :D

Re:Ask HN: Is there something similar to "Learn Python The H... by dextorious on Sunday January 01, 2012 @05:38AM (#3412834)
"""And I believe C isn't a very strong language."""

!!!!

Re:Ask HN: Is there something similar to "Learn Python The H... by Spock on Sunday January 01, 2012 @12:04PM (#3413338)
What? lol.

Correct me if I'm wrong, it's only what I read. A fool who asks questions is a fool for 5 minutes, a fool who doesn't is a fool forever!

Re:Ask HN: Is there something similar to "Learn Python The H... by naf on Monday December 26, 2011 @03:21PM (#3393835)
Love it!
Re:Ask HN: Is there something similar to "Learn Python The H... by kenjackson on Monday December 26, 2011 @02:04PM (#3393629)
Accelerated C++ maybe? I haven't read LPTHW, but Accelerated C++ is a good book to learn C++ from, and is very example focused:

http://www.acceleratedcpp.com/

Of course, doesn't cover the latest rev of C++, C++11. But this should lay good foundation.