4 ms·
I recently started a graduate course that originally required C++. My only exposure to C++ basically went through the fundamentals of the C part without getting
by zeugmasyllepsis 9y ago
I recently started a graduate course that originally required C++. My only exposure to C++ basically went through the fundamentals of the C part without getting to any of the ++.
Is there something similar to this for C++? I understand that C++ is a much larger language and I'm definitely not looking for something comprehensive, more of a solid overview of a workable subset of the language. Enough to be productive, produce reasonably modern idiomatic code that can be improved or expanded in the future.
In the end, the graduate course ended up using Python, but I'm still somewhat curious about modern C++.
- michaericalribo 9y agoIn a similar situation, I constructed a crash course using a combination of Accelerated C++, for succinctness & idiomatic C++, and Statistical Computing in C++ and R, for language features relevant to my graduate field.
- lost_vegetable 9y agoI'd recommend A Tour of C++, by Bjarne Stroustrup. http://www.stroustrup.com/Tour.html http://www.stroustrup.com/Tour.html
- krat0sprakhar 9y ago+1 to this. I took a course by Prof Stroustrup and he strongly newcomers to start with this book
- smnplk 9y agoWord of advice. Don't learn any of the OOP stuff in C++, many learned it, but later they had to unlearn it. Search for data oriented design.
- sitkack 9y agoThis looks like the best resource, https://github.com/dbartolini/data-oriented-design https://github.com/dbartolini/data-oriented-design
- pjmlp 9y agoGood advice, why learn something that isn't used on STL, Qt, wxWidgets, boost.
- clappski 9y agoThat’s as bad as saying OOP is the cure for all your problems! Learn all the paradigms and use them where they’re best used, don’t shun any or advise someone against it just because you’ve had a bad experience.
- smnplk 9y agoI am frankly getting sick of the notion "use the right tool for your problem", when discussing programming paradigms. No, programming paradigm is not a tool. Programming language is a tool, data structures are tools and algorithms are tools. I don't believe there exists such and such problem, that can only be solved/expressed in OO way and the only true way is to do it in OO way or the best way if you prefer.
- mypalmike 9y ago"Thinking in C++" by Bruce Eckel "Effective C++" by Scott Myers
- pvg 9y agoIsn't Thinking in C++ a little on the outdated side, by this point?
- bstrong 9y agoFor a beginner, I think it's hard to beat "C++ Primer" by Stanley Lippman.
- banned1 9y agoAdvanced C++ Programming Styles and Idioms by James O. Coplien https://www.amazon.com/Advanced-C-Programming-Styles-Idioms/dp/0201548550 https://www.amazon.com/Advanced-C-Programming-Styles-Idioms/...