When comparing C++ Primer vs SoloLearn, the Slant community recommends SoloLearn for most people. In the question“What are the best resources to learn C/C++?” SoloLearn is ranked 1st while C++ Primer is ranked 4th.
Ranked in these QuestionsQuestion Ranking
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 Excellent mobile apps available
XP, levels, badges, certificates, etc.
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.
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.
Con Limited usefulness for intermediate or experienced programmers
No advanced coding challenges. Look for those on other sites like hackerrank.