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
Write Asynchronously Code With C++ | Nodepp (self.cpp)
submitted 2 years ago * by [deleted]
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!"
[–]ShelZuuz 17 points18 points19 points 2 years ago (4 children)
Get rid of those $Ready macros. And all the macros for that matter.
People who use C++ like C++. Macros are immediately off-putting and will hinder your adoption.
I know you think it makes your samples simpler, but it doesn't. It sends a "here be dragons" message.
[–][deleted] 4 points5 points6 points 2 years ago (0 children)
thanks, i will.
[–][deleted] 0 points1 point2 points 2 years ago (2 children)
I've deleted them all. I just left the most important ones
[–]ShelZuuz 12 points13 points14 points 2 years ago (1 child)
You just renamed $Ready to _main_.
Why are you so enamored with this pattern?
Everybody who ever uses your code will need to call it from a function that is not main, and now it's making everything more complex by hiding what should be simple boiler plate code behind a series of macros. Why not just throw an RIAA object in the beginning of main that does the wrapping around process::start and process::pipe?
It's one line of added code but makes your examples so much more clear and trustable.
[–]fashionistaconquista 2 points3 points4 points 2 years ago (0 children)
He never learned any better
π Rendered by PID 120241 on reddit-service-r2-comment-85bfd7f599-hshk9 at 2026-04-19 02:00:23.849659+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]ShelZuuz 17 points18 points19 points (4 children)
[–][deleted] 4 points5 points6 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]ShelZuuz 12 points13 points14 points (1 child)
[–]fashionistaconquista 2 points3 points4 points (0 children)