There is a question: where to start learning C++?
I know that this is a complex language, therefore I ask you. Each programming language has a base without which it is just nowhere. What do you advise to go to start?
Thank you in advance.
Answer 1, Authority 100%
1) Sorry, but Schilda is very scold , yes, and the old books are very. I do not advise.
2) Creator C++ Language Bjarn Sturastrup Extremely does not advise to start learning C++ from C
3) Personal experience: better good C++ Libe than good C-Libe.
Answer 2, Authority 550%
Oh, well, now I will throw the list.
Since the C++ language includes a Si language that is much easier to study, I would advise you to start with him. In particular, from Schilda – “Full Handbook on SI” . This is the only book in which I did not just meet a bunch of outdated information with an error in each second example (hello to K & amp; R).
However, the study of s is not necessarily, although I recommend.
As for the C++ itself
Robert Lapala – “Object-oriented programming in C++”
Wonderful C++ book for beginners. It is written in a simple, concise and understandable language, the material disassembles in detail and detail. I recommend as the first C++. There are examples for solving. Read, one pleasure. The only minus, which I noted – the author is strong and often intercepted the advantages of the language in the text of the book.
Herbert Shildt – Full C++ Directory
Having read Laphore, you can delve into the details of the language and see a kind of C++ textbook. Everything will be said here that has not been told in the first book.
Next is the list that I did not read, but books from it are also recommended on many resources as the best.
- Bruce Ecel, Chuck Allison – “Philosophy C++. Introduction to the standard C++.”
- Bruce Ecel, Chuck Allison – “C++ philosophy. Practical programming.”
- Wall Lippman, Josi Lazhoye – “C++ programming language. Introductory course”
- Wall Lippman – “Basics of C++ programming. Volume 1”
Excellent, it was C++, but there is also his STL library, which is also dedicated to the same books and boost. As well as the analysis of advanced programming techniques for C++.
- Peter Norton Scott Meyers – “Effective Using STL”
- Nikolay Josyutis – “C++ Standard Library. for professionals.”
- p. Playager, A. Stepanov – “STL. Standard C++ templates library”
Be sure to familiarize yourself with Boost, I don’t know books unfortunately.
- Peter Norton Scott Meyers – “The most efficient use of C++. 35 new ways to improve programming style.”
- Norton Scott Meyers – “Effective use of C++. 50 recommendations for improving your programs and projects.”
- Peter Norton Scott Meyers – “Effective use of C++. 55 faithful tips to improve the structure and code of your programs.”
- coat of arms satter – “new complex tasks on C++”
- Coat of arms satter – “Solution of complex tasks on C++”
Andrei Aleksandresku, coat of arms satter – “C++ programming standards. 101 Rule and recommendation”
Do not forget to read the book of four about design templates .
If you have read a lot of books given and got enough experience, then it’s time to move to the works of strawstruad. His books are written by academic language and read quite difficult. Some recommend starting from it, but only on what they themselves began when there were no more affluent literature on the market. Unambiguously do not take it first, but it is required for a good C++ programmer.
not tired of cake boring console applications? It’s time to go to the study of Qt.
Or studying programming under Windows.
- Max Chalee “Qt 4.8. Professional C++ programming”
- Blanchet, Summerfield – “QT4 GUI programming on C++”
- Mark Summerfield – Qt Professional Programming (High Tech) – 2011
- Andrei Borovsky – QT4.7 +. Practical programming on C++ – 2012
Some Windows Moz Corn, but instead of WinAPI you can read something higher-level, all sorts of MFC, WTL. Yes, the first two books for Windows 95, but since then WinAPI has not changed at all, books are excellent allowance.
- Charles Petzold – “Programming for Windows 95. Volume 1”
- Charles Petzold – “Programming for Windows 95. Volume 2”
- Jeffrey Richter – “Windows for professionals”
Well, in general, you can also add all sorts of necessary books that are not directly related to C++, but I think you will be pushing them in the process of study. Also, any DirectX, OpenGL, database, etc., etc. Something can be viewed here: Good books on C++
And also if you are a Windows-oriented developer, it is better to use the C # language to design the GUI interface, and write library for it on C++. But it is already.
Good luck, if you wanted to become a C++ professional.
and remember article: Learn to program in ten years (Peter Norvig) .
Answer 3, Authority 300%
If all the same C++ is needed, then a book is ~ 1000 pages to study, for example, C++ Primer (edition updated for C++ 11) . If programming experience is already there, then “Accelerated C++” is recommended.
Completion of small projects – good ways to study new languages: 1000+ Beginner Programming Projects .
Answer 4, Authority 150%
Start with si. And necessarily in * NIX (now, obviously Linux).
To begin with, simply open K & amp; R, read and write examples.
This will give you the right understanding of the basics
(perhaps then (and with the acquisition of real programming experience) The desire to use C++ will already disappear, although it will still have to study it, because too much code is still written on it).
Answer 5, Authority 50%
Answer your questions: “Why do I need C++?”, “What do I want to get using it?”. Place the interesting and necessary goal for you: the game, the program, anything, and go to her, learn the toolkit.
Something from the straw can be read
I usually begin all languages to learn from videos on YouTube. Try This, then when more or less the base you will know, go to the books, read the Habr, there is a lot of useful there, and then everything will be studied on the principle of a snowball. Good luck 🙂
My one-laugher was very talked by G.Sildt. He has many different textbooks, including C++