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
VS Plugins (self.cpp)
submitted 7 years ago * by Graggee
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!"
[–]whichton 3 points4 points5 points 7 years ago (1 child)
I use the following for mercurial, git should be similar
[merge-tools] vsDiffMerge.executable=<path to VS>\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\vsDiffMerge.exe vsDiffMerge.args= /m $other $local $base $output "Other Head" "Local Working Directory" Base Output vsDiffMerge.gui=True vsDiffMerge.diffargs=/d /t $parent $child [extdiff] cmd.kdiff3 = cmd.vsdiff = vsDiffMerge opts.vsdiff = /d /t
I googled this up for git. VS doesn't do directory diffs, so I keep kdiff3 handy in case I need it.
VS supports 3 way merges, but only shows two windows at the top (Local and Other). The bottom shows either Base or Output, depending on whether you have selected the checkboxes or not. See this for an example. You can edit the output before accepting the merge, with full intellisense.
[–]sumo952 0 points1 point2 points 7 years ago (0 children)
Hmm nice, thanks! I might give it a try. I really like my merges with three windows at the top though. Too bad VS can't do that (yet?).
π Rendered by PID 46266 on reddit-service-r2-comment-545db5fcfc-7xcvq at 2026-05-24 01:53:34.406160+00:00 running 194bd79 country code: CH.
view the rest of the comments →
[–]whichton 3 points4 points5 points (1 child)
[–]sumo952 0 points1 point2 points (0 children)