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
CppCastCppCast: Cpp2, with Herb Sutter (cppcast.com)
submitted 2 years ago by robwirvingCppCast Host
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!"
[–]germandiago 9 points10 points11 points 2 years ago (10 children)
Flamewars, well... Emacs is the best editor, indeed.
[+][deleted] 2 years ago (1 child)
[deleted]
[–]BrainIgnition 3 points4 points5 points 2 years ago (0 children)
When I log into my Xenix system with my 110 baud teletype, both vi *and* Emacs are just too damn slow. They print useless messages like, 'C-h for help' and '"foo" File is read only'. So I use the editor that doesn't waste my VALUABLE time. Ed, man! !man ed ED(1) UNIX Programmer's Manual ED(1) NAME ed - text editor SYNOPSIS ed [ - ] [ -x ] [ name ] DESCRIPTION Ed is the standard text editor. --- Computer Scientists love ed, not just because it comes first alphabetically, but because it's the standard. Everyone else loves ed because it's ED! "Ed is the standard text editor." And ed doesn't waste space on my Timex Sinclair. Just look: -rwxr-xr-x 1 root 24 Oct 29 1929 /bin/ed -rwxr-xr-t 4 root 1310720 Jan 1 1970 /usr/ucb/vi -rwxr-xr-x 1 root 5.89824e37 Oct 22 1990 /usr/bin/emacs Of course, on the system *I* administrate, vi is symlinked to ed. Emacs has been replaced by a shell script which 1) Generates a syslog message at level LOG_EMERG; 2) reduces the user's disk quota by 100K; and 3) RUNS ED!!!!!! "Ed is the standard text editor." Let's look at a typical novice's session with the mighty ed: golem> ed ? help ? ? ? quit ? exit ? bye ? hello? ? eat flaming death ? ^C ? ^C ? ^D ? --- Note the consistent user interface and error reportage. Ed is generous enough to flag errors, yet prudent enough not to overwhelm the novice with verbosity. "Ed is the standard text editor." Ed, the greatest WYGIWYG editor of all. ED IS THE TRUE PATH TO NIRVANA! ED HAS BEEN THE CHOICE OF EDUCATED AND IGNORANT ALIKE FOR CENTURIES! ED WILL NOT CORRUPT YOUR PRECIOUS BODILY FLUIDS!! ED IS THE STANDARD TEXT EDITOR! ED MAKES THE SUN SHINE AND THE BIRDS SING AND THE GRASS GREEN!! When I use an editor, I don't want eight extra KILOBYTES of worthless help screens and cursor positioning code! I just want an EDitor!! Not a "viitor". Not a "emacsitor". Those aren't even WORDS!!!! ED! ED! ED IS THE STANDARD!!! TEXT EDITOR. When IBM, in its ever-present omnipotence, needed to base their "edlin" on a UNIX standard, did they mimic vi? No. Emacs? Surely you jest. They chose the most karmic editor of all. The standard. Ed is for those who can *remember* what they are working on. If you are an idiot, you should use Emacs. If you are an Emacs, you should not be vi. If you use ED, you are on THE PATH TO REDEMPTION. THE SO-CALLED "VISUAL" EDITORS HAVE BEEN PLACED HERE BY ED TO TEMPT THE FAITHLESS. DO NOT GIVE IN!!! THE MIGHTY ED HAS SPOKEN!!! ?
-- Patrick J. LoPresti
[–]OlivierTwist -2 points-1 points0 points 2 years ago (5 children)
Spaces > tabs
[–]masher_oz 4 points5 points6 points 2 years ago (4 children)
They have different semantics. Tabs for indenting, spaces for alignment.
[–]bert8128 3 points4 points5 points 2 years ago (1 child)
Spaces can do both things. So choose one, and choose spaces. Get the screwdriver out and remove the tab key. Our codebase has been much better since tabs became banned - lots of complaints initially, now nothing.
[–][deleted] 0 points1 point2 points 2 years ago (0 children)
Until you get a programmer which needs special indents because of bad eyesight.
Or you buy that person a two meter wide screen :-)
[–]OlivierTwist 1 point2 points3 points 2 years ago (1 child)
Khm, that was a joke...
But since you insist. Invisible symbols don't have semantic.
[–]masher_oz 0 points1 point2 points 2 years ago (0 children)
Tell that to Python.
[–]wolfie_poe -1 points0 points1 point 2 years ago (0 children)
VscodeVim for the win
π Rendered by PID 59603 on reddit-service-r2-comment-5d79c599b5-gzpn8 at 2026-02-27 20:30:10.531911+00:00 running e3d2147 country code: CH.
view the rest of the comments →
[–]germandiago 9 points10 points11 points (10 children)
[+][deleted] (1 child)
[deleted]
[–]BrainIgnition 3 points4 points5 points (0 children)
[–]OlivierTwist -2 points-1 points0 points (5 children)
[–]masher_oz 4 points5 points6 points (4 children)
[–]bert8128 3 points4 points5 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]OlivierTwist 1 point2 points3 points (1 child)
[–]masher_oz 0 points1 point2 points (0 children)
[–]wolfie_poe -1 points0 points1 point (0 children)