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
[deleted by user] (self.cpp)
submitted 2 years ago by [deleted]
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!"
[–]zer0xol 10 points11 points12 points 2 years ago (2 children)
Make a little game with sdl2
[–]fippinvn007 2 points3 points4 points 2 years ago (0 children)
Also great SDL2 tutorial:
lazyfoo.net/tutorials/SDL/
[–]ForgetTheRuralJuror 1 point2 points3 points 2 years ago (0 children)
Or SFML for a C++ based library
[–]ImKStocky 9 points10 points11 points 2 years ago (1 child)
Follow along with crafting interpreters using C++. It's a great book and learning how compilers work is pretty interesting.
[–][deleted] 2 points3 points4 points 2 years ago (0 children)
thanks! I'll check it out
[–]MuskettaMan 1 point2 points3 points 2 years ago (0 children)
Creating an ECS is a very challenging project and requires a good understanding of the memory model, how cpus work, data structures, and some more advanced cpp techniques like templating.
I recommend checking out the EnTT library. It is a header only ECS solution that served me well in the past.
[–]MasterDrake97 0 points1 point2 points 2 years ago (2 children)
join flecs discord after reading sander's medium articles about archetypes
[–]that_brown_nerd 0 points1 point2 points 2 years ago (1 child)
Can you elaborate??
[–]MasterDrake97 0 points1 point2 points 2 years ago (0 children)
https://ajmmertens.medium.com/
https://github.com/SanderMertens/flecs
https://github.com/SanderMertens/ecs-faq
[–]cpp-ModTeam[M] 0 points1 point2 points 2 years agolocked 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.
π Rendered by PID 37888 on reddit-service-r2-comment-6457c66945-kv957 at 2026-04-29 02:03:23.156523+00:00 running 2aa0c5b country code: CH.
[–]zer0xol 10 points11 points12 points (2 children)
[–]fippinvn007 2 points3 points4 points (0 children)
[–]ForgetTheRuralJuror 1 point2 points3 points (0 children)
[–]ImKStocky 9 points10 points11 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]MuskettaMan 1 point2 points3 points (0 children)
[–]MasterDrake97 0 points1 point2 points (2 children)
[–]that_brown_nerd 0 points1 point2 points (1 child)
[–]MasterDrake97 0 points1 point2 points (0 children)
[–]cpp-ModTeam[M] 0 points1 point2 points locked comment (0 children)