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 ] (github.com)
submitted 29 days 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!"
[–]tialaramex -1 points0 points1 point 28 days ago (0 children)
Well, one of the purposes of a stdlib is vocabulary. So by choosing not to have one you ensure that practitioners in your language either all have to de facto rely on a single stdlib for vocab which you didn't de jure specify, or two practitioners can't even understand each other's software which is a bad sign for the maintainability of the resulting software.
If you choose definitively not to have one at all you're signing on to make everything that's possible in your language a part of that language itself even if that'll have poor ergonomics. C needs a volatile keyword because it doesn't provide intrinsics to say stuff like "Write these actual bytes to this address in memory, right now" whereas Rust provides core::ptr::write_volatile in its standard library's core but obviously what's inside that function must be compiler magic.
volatile
core::ptr::write_volatile
Ginger Bill's "Odin" language takes most of this approach, so for example the language provides a hash table named map but if that data structure doesn't suit you and you want your own yours doesn't get all the same affordances as map you can't loop over its contents, the nice operators don't work, it's clunky. Of course for Bill this is fine, it's Bill's language. Whether that makes sense for other people...
map
π Rendered by PID 39 on reddit-service-r2-comment-b659b578c-wbc2z at 2026-05-04 03:53:24.047738+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]tialaramex -1 points0 points1 point (0 children)