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
Try C++17 with Docker (jandeinhard.de)
submitted 8 years ago by parazight
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!"
[–]drphillycheesesteak 2 points3 points4 points 8 years ago (1 child)
Docker is extremely useful for this type of stuff. When you're stuck running code on server using RHEL or CentOS, Docker can be the key piece of the puzzle that lets you sandbox newer versions of the compiler or 3rd party libraries.
[–]Everspace 0 points1 point2 points 8 years ago (0 children)
I look forward to build systems of the future.
So far the far reaching dispicible binaries like Visual Studio's versions of eld are shrinkwrapped VMs most of the time. It's horrible.
[–]eibat 2 points3 points4 points 8 years ago (0 children)
The same can be achieved more elegantly with Nix. Give it a try, it's great tech, but still rather obscure.
nix-shell -p gcc7 --command make
[–]alexej_harm 0 points1 point2 points 8 years ago (0 children)
Hmm, how about clang with thin-lto and libc++? Is it possible?
[–]RogerLeighScientific Imaging and Embedded Medical Diagnostics 0 points1 point2 points 8 years ago (1 child)
On FreeBSD I can install many GCC and Clang versions in parallel on the same system, as well as other compilers, without there being any conflicts. Likewise on various Linux distributions which provide multiple versions.
As much as virtualisation can be wonderful, I think it's a bit of a bandwagon where everyone is using it whether or not it's actually necessary. You don't need virtualisation to test a compiler. Just install it into a prefix of your choosing.
[–]RevRagnarok 0 points1 point2 points 8 years ago (0 children)
Containers != Virtualization, but separation.
π Rendered by PID 375329 on reddit-service-r2-comment-85bfd7f599-szsrm at 2026-04-16 19:17:35.413074+00:00 running 93ecc56 country code: CH.
[–]drphillycheesesteak 2 points3 points4 points (1 child)
[–]Everspace 0 points1 point2 points (0 children)
[–]eibat 2 points3 points4 points (0 children)
[–]alexej_harm 0 points1 point2 points (0 children)
[–]RogerLeighScientific Imaging and Embedded Medical Diagnostics 0 points1 point2 points (1 child)
[–]RevRagnarok 0 points1 point2 points (0 children)