When comparing C++ Primer vs SoloLearn, the Slant community recommends C++ Primer for most people. In the question“What are the best resources to learn C/C++?” C++ Primer is ranked 1st while SoloLearn is ranked 3rd. The most important reason people chose C++ Primer is:
This book is excellent for people who have basic knowledge of programming concepts or have read an introductory book on programming or C++.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Great for people who know just the very basics of programming
This book is excellent for people who have basic knowledge of programming concepts or have read an introductory book on programming or C++.
Pro Explains C++11 extension well
5th edition adds information on C++11 additions and integrates it throughout the book so it's not just an appendix with new stuff.
Pro Covers the core of the language without omitting anything critical
The book describes core concepts of C++ programming in-depth. It covers various nuances that would otherwise be easy to misinterpret.
Pro Completely free
Pro Offline learning mode for mobile apps
Allows learning while disconnected from the net.
Pro Easy for beginners
Anyone can get started with this.
Pro Share and modify others' projects
Pro Browser-based code playgrounds
No software installation needed, just a modern web browser. On mobile devices though the mobile apps are highly recommended.
Pro Excellent mobile apps available
Pro Gamification
XP, levels, badges, certificates, etc.
Cons
Con Complaints about the Kindle version
To quote a reader: "The book itself is great. However, the formatting for the Kindle is messed up".
Con No mention of threads, atomic instructions, or memory model
Con Poor for people with no previous programming experience
Con Does not cover template metaprogramming
Con Only the most commonly used languages are covered.
C++, Java, JavaScript, C#, Python, SQL, PHP, Swift, Ruby, JQuery, HTML, CSS. You won't find anything less common like Haskell, Erlang, Elixir, Common Lisp, Scheme, Clojure, Rust, etc.
Con Limited usefulness for intermediate or experienced programmers
No advanced coding challenges. Look for those on other sites like hackerrank.