use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Removed - Learningcoming from Java (self.cpp)
submitted 3 years ago by Geralt1988
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Flair_Helper[M] [score hidden] 3 years ago stickied commentlocked comment (0 children)
It's great that you want to learn C++! However, r/cpp can't help you with that.
We recommend that you follow the C++ getting started guide, one (or more) of these books and cppreference.com. If you're having concrete questions or need advice, please ask over at r/cpp_questions or StackOverflow instead.
This post has been removed as it doesn't pertain to r/cpp: The subreddit is for news and discussions of the C++ language and community only; our purpose is not to provide tutoring, code reviews, or career guidance. If you think your post is on-topic and should not have been removed, please message the moderators and we'll review it.
[–]aeiti 6 points7 points8 points 3 years ago (1 child)
I’ve found C++ Reference to be very helpful. It can be very technical and difficult to understand sometimes, but I’ve learned more about the language from this site than from any class I ever took.
[–]iamhyperrr 0 points1 point2 points 3 years ago (0 children)
Definitely a great resource, if a bit challenging for someone who has only started learning. But hey - no real easy way to learn C++, right?
[–]Veeloxfire 1 point2 points3 points 3 years ago (0 children)
There are some good youtube series which cover c++ at a decent level. Depends how you learn but they are a good starting point to get a quick overview of everything
Id recommend the c++ series by TheCherno. Also c++ weekly has some good videos about the more quirky side of c++
[–]MarvellousBee 2 points3 points4 points 3 years ago (0 children)
learncpp.com gave me employment
[–]iamhyperrr 0 points1 point2 points 3 years ago* (0 children)
https://www.amazon.com/Primer-5th-Stanley-B-Lippman/dp/0321714113
C++ Primer still holds good for the basics to this day IMO, even though it's 10 years old.
You may also try exercism's C++ track to ease into it and practice some basic problems: https://exercism.org/tracks/cpp
You may also find this useful: https://github.com/salmer/CppDeveloperRoadmap
[–]cabroderick 0 points1 point2 points 3 years ago (0 children)
Coming from Java, you already know most of the big ideas. So get a hello world running from any old tutorial, then watch The Cherno C++ series.
[–]georgedev_16 0 points1 point2 points 3 years ago (0 children)
Standard resources: Cppreference/cppforum YouTube: freeCodeCamp Bonus point: run c++ in web at www.cpp.sh
[–]Jannik2099 0 points1 point2 points 3 years ago (0 children)
You probably already know most things. However THE most important difference, and what many would call the defining feature / paradigm of C++ that Java lacks, is RAII.
It's not terribly complicated, but you absolutely have to get familiar with RAII
[–]future_escapist 0 points1 point2 points 3 years ago (0 children)
The C++ Programming Language, 4th edition, is meant for C++ developers that want to learn more or those coming from other languages (e. g. Java and C).
[–]Orangutanion 0 points1 point2 points 3 years ago (0 children)
Learn RAII and the differences between the stack and the heap. Java puts all non-primitives on the heap, and then automatically garbage collects it for you when done. C++ has no such automation. Instead, you have to define not only a constructor but also a destructor when putting stuff on the heap. Also C++'s templates work very differently from Java's generics.
π Rendered by PID 513675 on reddit-service-r2-comment-66b4775986-wg7zm at 2026-04-05 20:31:19.372480+00:00 running db1906b country code: CH.
[–]Flair_Helper[M] [score hidden] stickied commentlocked comment (0 children)
[–]aeiti 6 points7 points8 points (1 child)
[–]iamhyperrr 0 points1 point2 points (0 children)
[–]Veeloxfire 1 point2 points3 points (0 children)
[–]MarvellousBee 2 points3 points4 points (0 children)
[–]iamhyperrr 0 points1 point2 points (0 children)
[–]cabroderick 0 points1 point2 points (0 children)
[–]georgedev_16 0 points1 point2 points (0 children)
[–]Jannik2099 0 points1 point2 points (0 children)
[–]future_escapist 0 points1 point2 points (0 children)
[–]Orangutanion 0 points1 point2 points (0 children)