软件编程版 #589074 层

如何学好C++?

楼主 · 1 楼
请问一下诸君如何学好C++?介绍一下你们的经验或学习心得。
2 楼
先找基本的C++书看。清华。。。钱能。。。,重点在后面类。。多态。。。等
一定要动手编程。。。

再找<effative C++>看。

C++很难。
我个人认为,有基本编程能力就行。也就是有C的基础就行。
3 楼
我是转载的,以下内容不是我写的

As promised, I am listing a few books and resources on C++, so you can plan a way to improve on your C++ knowledge.

I think a good start, is a good beginner book out of the following:

Sams Teach Yourself C++ in 24 Hours: Complete Starter Kit (Sams Teach Yourself): http://www.amazon.co.uk/Sams-Teach-Yoursel.../dp/0672326817/
C++ Primer (Paperback) http://www.amazon.co.uk/Sams-Teach-Yoursel.../dp/0672326817/

At the same time you could read this book, which is aimed who want to learn C++ by example in a short amount of time:
Accelerated C++: Practical Programming by Example (C++ in Depth) (Paperback) :
http://www.amazon.co.uk/Accelerated-C%2B%2...e/dp/020170353X
The classic book on the C++ syntax is the one written by its creator, Stroustrup, but it can feel a bit long:
The C++ Programming Language, Special Edition (Hardcover)
http://www.amazon.co.uk/C%2B%2B-Programmin.../dp/0201700735/
Once you have acquired the basics, you should get knowledge of:

The standard library (standard collections and algorithms), previously known as Standard Template Library
Design patterns
Advanced knowledge of C++ and standard library
Standard Library
The following two books are the best on the subject:

The C++ Standard Library: A Tutorial and Reference (Hardcover): http://www.amazon.co.uk/C%2B%2B-Standard-L.../dp/0201379260/
The STL Tutorial and Reference Guide: C++ Programming with the Standard Template Library (Professional Computing) (Hardcover): http://www.amazon.co.uk/STL-Tutorial-Refer...l/dp/0201379236

Design patterns

You could read the classic one on the subject: Design patterns : elements of reusable object-oriented software (Hardcover) : http://www.amazon.co.uk/Design-patterns-el.../dp/0201633612/
However apparently this one gives a simpler and quicker overview of all of the classic design patterns: Head First Design Patterns (Head First) (Paperback) : http://www.amazon.co.uk/Head-First-Design-.../dp/0596007124/

Advanced knowledge of C++ and STL
The following books are some of the best which can bring your C++ at a superior level (look them up on Amazon to get more details):
Exceptional C++, More Exceptional C++, Effective C++, More Effective C++, Effective STL, C++ Coding Standards

Once you have reached a good levelo by reading some of these books you can go to yet another level by reading the book "Modern C++ Design". If you understand everything you read in this book you can consider yourself a guru...

Hope you find these tips useful.


4 楼
要学习一点是不难的,但要编出有质量的程序,就太难了