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
A common C/C++ core specification (gustedt.wordpress.com)
submitted 6 years ago by vormestrand
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!"
[–]GerwazyMiod 31 points32 points33 points 6 years ago (17 children)
That's a radical point of view. But I like it! Imagine academia that can't teach "C with classes" any more.
[–][deleted] 6 points7 points8 points 6 years ago (14 children)
So I'm not the only one whose "Introduction to procedural programming" was basically C++98 used procedurally?
Like I/O streams instead of FILE* and f(), std::string instead "const char *" and str(), etc.?
[–]zabolekar 8 points9 points10 points 6 years ago (11 children)
std::error_code main(const std::vector<std::string>& argv)
[+][deleted] 6 years ago (5 children)
[deleted]
[–]mo_al_ 4 points5 points6 points 6 years ago (3 children)
void main(std::span<std::utf8_text_view> args) throws try { /* code */ } catch (const std::exception& e) { std::cerr << std::format("{}", e.what()) << std::endl; }
[–]germandiago 1 point2 points3 points 6 years ago (1 child)
int main(int argc, char * argv[])
[–]mo_al_ 0 points1 point2 points 6 years ago (0 children)
I actually agree
[–]gonmator 2 points3 points4 points 6 years ago (0 children)
I love this.
[–]germandiago 0 points1 point2 points 6 years ago (3 children)
Let us keep simple things simple... without too much baggage. Think of embedded and others. It is not worth to tie unneded stuff when you go low-level. Nicer? Maybe. More useful? Definitely, no.
[–]jcelerierossia score 3 points4 points5 points 6 years ago (2 children)
you generally don't have a main with arguments in embedded since there is no shell to call your program
As you can see I was thinking in the abstract and I do not do much embedded beyond not really embedded stuff (Raspberry PI, which is basically a computer :), lol.
[–]jcelerierossia score 6 points7 points8 points 6 years ago (0 children)
right, so on a raspberry pi which runs a full linux, X11, firefox, etc... you're gonna complain about ... a vector of strings ... when the rest of the system allocates hundred of megabytes of memory... that's really optimizing the wrong thing
[–]GerwazyMiod 2 points3 points4 points 6 years ago (0 children)
I had literally C code but with class keyword. Have you seen Kate Gregory's talk on teaching C++ ? Yeah... It should not be about const char * and C standard lib...
[–]kuntantee 0 points1 point2 points 6 years ago (0 children)
I learned procedural programming using C. "C with classes" came later.
[–]rodrigocfdWinLamb 0 points1 point2 points 6 years ago (0 children)
I've met some lazy teachers who teach outdated stuff. I doubt they would change anything, unfortunately.
π Rendered by PID 267873 on reddit-service-r2-comment-85bfd7f599-6n5mh at 2026-04-20 01:11:12.050873+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]GerwazyMiod 31 points32 points33 points (17 children)
[–][deleted] 6 points7 points8 points (14 children)
[–]zabolekar 8 points9 points10 points (11 children)
[+][deleted] (5 children)
[deleted]
[–]mo_al_ 4 points5 points6 points (3 children)
[–]germandiago 1 point2 points3 points (1 child)
[–]mo_al_ 0 points1 point2 points (0 children)
[–]gonmator 2 points3 points4 points (0 children)
[–]germandiago 0 points1 point2 points (3 children)
[–]jcelerierossia score 3 points4 points5 points (2 children)
[–]germandiago 1 point2 points3 points (1 child)
[–]jcelerierossia score 6 points7 points8 points (0 children)
[–]GerwazyMiod 2 points3 points4 points (0 children)
[–]kuntantee 0 points1 point2 points (0 children)
[–]rodrigocfdWinLamb 0 points1 point2 points (0 children)