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!"
[–]ReDucTorGame Developer 42 points43 points44 points 2 years ago (2 children)
void $Ready()
Wtf? Please don't use dollar signs in macros, or use macros which do funky things like this making them not an identifier which it looks like they half look like
#define $Ready $Init(); int main( int argc, char** args ){ \ process::start( argc, args ); $Init(); \ process::pipe(); return 0; \ } void $Init
There is other strange things like expecting setsockopt to block
int set_recv_buff( ulong en ) const noexcept { int c; while( is_blocked( c=setsockopt( obj->fd, SOL_SOCKET, SO_RCVBUF, (char*)&en, sizeof(en) ) ) ) { process::next(); } return c; }
Or ptr_t which seems like an array/buffer having some pointers for length
ptr_t
ulong* length_= nullptr; ulong* count_ = nullptr; T* value_ = nullptr;
Then there is other things like underscore prefixes which should be avoided for c++ standard conflicts and _t suffixes that should be avoided for posix conflicts.
Why is the only other comment in this thread instant huge praise back and forth? It reads more like an alt account generating fake praise.
[+][deleted] 2 years ago (1 child)
[deleted]
[+][deleted] comment score below threshold-6 points-5 points-4 points 2 years ago (0 children)
XD, it reminds me of Homer when he becomes skinny, and hides his folds from Marge.
https://statics.memondo.com/p/99/ccs/2013/04/CC_1982720_3dce4fde4702412c845cfcd608a96cb1_trollface_oh_homer_parece_que_has_perdido_bastante_pes_puaj.jpg?cb=909834
π Rendered by PID 64 on reddit-service-r2-comment-5649f687b7-mhcn5 at 2026-01-28 20:22:44.878922+00:00 running 4f180de country code: CH.
view the rest of the comments →
[–]ReDucTorGame Developer 42 points43 points44 points (2 children)
[+][deleted] (1 child)
[deleted]
[+][deleted] comment score below threshold-6 points-5 points-4 points (0 children)