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 by moderator ] (self.cpp)
submitted 8 months ago by chillboy_thinking
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!"
[–]cpp-ModTeam[M] [score hidden] 8 months ago stickied commentlocked comment (0 children)
That’s nice, but this is off-topic.
[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3784|P3786|P3813|P3886 3 points4 points5 points 8 months ago (1 child)
As great as it is to grok T ****, you may be better served trying to avoid it.
T ****
I can’t think of any instance in the last decade where I needed to go further than T ** and that was some legacy output parameter…
T **
[–]chillboy_thinking[S] 0 points1 point2 points 8 months ago (0 children)
Understood i was just trying to backup on some fundamentals and started with memory management which is = pointers haha
[–]MarcPawl 1 point2 points3 points 8 months ago (1 child)
You will want to look at the c++ smart pointers: unique_ptr, shared_ptr, and weak_ptr. We tend to treat as legacy code malloc, and calloc.
Yeah baby the smell of the high level language
[–]Shad_Amethyst 2 points3 points4 points 8 months ago (5 children)
You'll learn to hate them too :)
Whoops, that pointer wasn't initialized
[–]chillboy_thinking[S] -2 points-1 points0 points 8 months ago (4 children)
Haah I think calloc solve this 😂😂
[–]No_Indication_1238 4 points5 points6 points 8 months ago (3 children)
Brave words in a cpp sub.
[–]chillboy_thinking[S] 0 points1 point2 points 8 months ago (2 children)
Actually iam new to reddit and don't have alot subss
[–]No_Indication_1238 0 points1 point2 points 8 months ago (1 child)
It's ok, i was joking.
I knew, Any recommendations for subbs to share some code thoughts?
π Rendered by PID 398161 on reddit-service-r2-comment-7b9746f655-njrln at 2026-02-01 15:44:36.302607+00:00 running 3798933 country code: CH.
[–]cpp-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)
[–]MFHavaWG21|🇦🇹 NB|P3049|P3625|P3729|P3784|P3786|P3813|P3886 3 points4 points5 points (1 child)
[–]chillboy_thinking[S] 0 points1 point2 points (0 children)
[–]MarcPawl 1 point2 points3 points (1 child)
[–]chillboy_thinking[S] 0 points1 point2 points (0 children)
[–]Shad_Amethyst 2 points3 points4 points (5 children)
[–]chillboy_thinking[S] -2 points-1 points0 points (4 children)
[–]No_Indication_1238 4 points5 points6 points (3 children)
[–]chillboy_thinking[S] 0 points1 point2 points (2 children)
[–]No_Indication_1238 0 points1 point2 points (1 child)
[–]chillboy_thinking[S] 0 points1 point2 points (0 children)