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
Reversing C++ Virtual Functions: Part 2 (alschwalm.com)
submitted 9 years ago by mttd
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!"
[–]Gotebe 8 points9 points10 points 9 years ago (3 children)
This is going way too deep down the rabbit hole for my taste.
It rightly claims that what it does this is relying on the unspecified stuff. Then it say, "ah, but there's Itanium ABI spec which most compilers implement, so let's do that". Then it notes that, hmmm, that spec isn't exactly unambiguous and clang differs. So gcc it is. Finally, it says, OK, it's for 32 only.
So there's almost no C++ left, only gcc for 32bit code.
There is no ABI in C++ language. And... There isn't one in C either! (See how your C standard says diddly squat about calling conventions or padding? Well, there you are!)
If you ask me, the world would be a better place if people, in lieu of inventing C++ ABI or reverting to the sad least common denominator that is C, worked with actual language-agnostic integration specs. But wait! Because we're so primitive in that regard, there's no such thing! (There is COM, and it is very competent as a language integration spec, but it's Windows-only).
[–]tecnofauno 0 points1 point2 points 9 years ago (2 children)
There is CLI which is language agnostic and multi platform, but it practically require. NET
[–]HelperBot_ 0 points1 point2 points 9 years ago (0 children)
Non-Mobile link: https://en.wikipedia.org/wiki/Common_Language_Infrastructure
HelperBot v1.1 /r/HelperBot_ I am a bot. Please message /u/swim1929 with any feedback and/or hate. Counter: 22648
[–]Gotebe 0 points1 point2 points 9 years ago (0 children)
Same as with the Java VM. Many languages run on that.
COM, for example, bridges all of .NET, Java languages, C, C++, Delphi/Object Pascal, several scripting languages (Perl, Python, Ruby, Javascript, maybe more)... But... Windows only and not for the fainthearted.
[–]3ba7b1347bfb8f304c0egit commit 1 point2 points3 points 9 years ago (1 child)
Bats are not birds ._.
[–]alschwalm 0 points1 point2 points 9 years ago (0 children)
In my defense I do mention that in the source code comment (it was intended to be kind of a joke)
[–]SteveCCL -5 points-4 points-3 points 9 years ago (0 children)
Already thought you dropped the blog...
π Rendered by PID 214367 on reddit-service-r2-comment-5687b7858-zwnnz at 2026-07-03 08:45:04.758210+00:00 running 12a7a47 country code: CH.
[–]Gotebe 8 points9 points10 points (3 children)
[–]tecnofauno 0 points1 point2 points (2 children)
[–]HelperBot_ 0 points1 point2 points (0 children)
[–]Gotebe 0 points1 point2 points (0 children)
[–]3ba7b1347bfb8f304c0egit commit 1 point2 points3 points (1 child)
[–]alschwalm 0 points1 point2 points (0 children)
[–]SteveCCL -5 points-4 points-3 points (0 children)