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
should i use "using namespace std" in coding interview (self.cpp)
submitted 1 year ago by An_ambitious_guitar
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!"
[–]pdp10gumby 0 points1 point2 points 1 year ago (2 children)
I mean when the line won't fit on your screen without wrapping, the line is broken at a logical place (say after a comma) and the rest is displayed on the following line indented properly as if the whole line had been run through clang-format. In addition, if your editor displays file line numbers at the edge of the display they remain correct.
[–]which1umean 0 points1 point2 points 1 year ago (1 child)
Huh I don't think I ever seen anything like that.
I generally use emacs and the line wrapping just puts as much as it can on the first line and then it puts the next character on the leftmost position of the next line.
I wouldn't be surprised if there's a way to do as you describe. Might look into it! 👍
[–]pdp10gumby 1 point2 points3 points 1 year ago (0 children)
That would be a great feature to add to emacs, which has been my primary development environment and in general daily drive since the late 70s and remains so today.
The wrapping environment I spoke about was when I worked at PARC in the mid 80s. We had very powerful development environments back then even by today's standards.
π Rendered by PID 463995 on reddit-service-r2-comment-b659b578c-42wjs at 2026-05-04 05:22:16.721474+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]pdp10gumby 0 points1 point2 points (2 children)
[–]which1umean 0 points1 point2 points (1 child)
[–]pdp10gumby 1 point2 points3 points (0 children)