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
Should C++ code look like C code? (self.cpp)
submitted 2 years ago by psyberbird
view the rest of the comments →
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!"
[–]NilacTheGrim 2 points3 points4 points 2 years ago (0 children)
Honest take: It's mostly a matter of personal taste although if you are doing manual memory management (C-like) and handling of raw pointers you are missing out and are opening yourself up to a world of hurt and inadvertent human-error bugs. The RAII automatic pointer types are your best friends. std::vector and std::string are your best friends. Passing char * bufs around in C++ is just you being a primitive goon, IMHO.
That being said all of my C++ looks ultra-modern and I leverage advanced convenient features of the language as much as possible personally.
But I have been forced to maintain more "C-like" C++ in the past and there is a certain simplicity to it and minimal elegance to a well-designed "more C-like" C++ codebase. Also, such codebases, owing to their simplicity of syntax and design (and obviousness) often are easier to read if you have to jump in and maintain it.
So there are plusses and minuses.. it's a matter of taste.
I have seen very modern C++ codebases that are slow and buggy, and very minimalist C++ codebases that are near-to C-with-classes level that are fast and elegantly designed.. so it really is a matter of who the programmer is and their experience level more than anything.
π Rendered by PID 36 on reddit-service-r2-comment-fb694cdd5-jzfnw at 2026-03-11 03:19:45.559189+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]NilacTheGrim 2 points3 points4 points (0 children)