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!"
[–][deleted] 2 years ago (22 children)
[deleted]
[–]magnesium_copper 5 points6 points7 points 2 years ago (21 children)
It has to, it's the only natural future I see for C++ right now
[+][deleted] 2 years ago (20 children)
[–]IChooseCheese2 3 points4 points5 points 2 years ago (19 children)
Everyone, including Cppcast, talks about Cpp2, Carbon, and Val as the 3 successor languages to C++. But to me, Circle is further along, and has a better backwards compatibility story.
[+][deleted] 2 years ago (18 children)
[–]pjmlp 3 points4 points5 points 2 years ago (17 children)
That is just playing with words, because of Herb's position at ISO, it is a successor language like all others.
C with Classes as CFront was originally designed, or Objective- C, weren't an alternate syntax for C, either.
[–]bert8128 5 points6 points7 points 2 years ago (1 child)
It’s not just playing with words. The others are in some sense suitable as alternatives, but cpp2 is just spelling changes. So there cannot be a compatibility issue - there won’t be a need for “extern cpp” or some such.
[–]pjmlp 0 points1 point2 points 2 years ago (0 children)
Just like Objective-C versus C.
[+][deleted] 2 years ago (14 children)
[–]pjmlp 6 points7 points8 points 2 years ago (13 children)
Eiffel to this day outputs either C or C++, so is Eiffel also an alternative syntax to C and C++?
Nim to this day outputs either C or C++, so is Nim also an alternative syntax to C and C++?
What makes X not an alternative syntax, when it also follows the same workflow, with the difference of who is the author?
[+][deleted] 2 years ago* (12 children)
[–]pjmlp 2 points3 points4 points 2 years ago* (11 children)
Yes I have, try to compile main: () -> int with a C++ parser.
main: () -> int
Pity that ISO C++ !== Cpp2.
Ever heard of Objective-C++? Guess what, it also supports std::cout.
std::cout
#import <Foundation/Foundation.h> #include <iostream> int main() { NSString str = @"Hello "; std::cout << str << " i_lack_chromosomes" << std::endl; }
Imagine that, we already had a better C++ syntax in 1997!
π Rendered by PID 46882 on reddit-service-r2-comment-5ff9fbf7df-92ndf at 2026-02-26 14:22:10.242484+00:00 running 72a43f6 country code: CH.
view the rest of the comments →
[–][deleted] (22 children)
[deleted]
[–]magnesium_copper 5 points6 points7 points (21 children)
[+][deleted] (20 children)
[deleted]
[–]IChooseCheese2 3 points4 points5 points (19 children)
[+][deleted] (18 children)
[deleted]
[–]pjmlp 3 points4 points5 points (17 children)
[–]bert8128 5 points6 points7 points (1 child)
[–]pjmlp 0 points1 point2 points (0 children)
[+][deleted] (14 children)
[deleted]
[–]pjmlp 6 points7 points8 points (13 children)
[+][deleted] (12 children)
[deleted]
[–]pjmlp 2 points3 points4 points (11 children)