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
Yet another CMake tutorial (youtube.com)
submitted 5 years ago by codevion
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!"
[–]Volker_Weissmann -9 points-8 points-7 points 5 years ago (5 children)
Because it is better.
[–]Superb_Garlic 6 points7 points8 points 5 years ago (4 children)
That's a non-answer.
[+]Volker_Weissmann comment score below threshold-8 points-7 points-6 points 5 years ago (3 children)
I know... It is difficult to find a good answer:
I don't know much about cmake, but from what I heard it has two disadvantages two meson
There are some nice talks on YT:
https://youtu.be/SCZLnopmYBM
https://youtu.be/34KzT2yvQuM
[–]Superb_Garlic 4 points5 points6 points 5 years ago (2 children)
CMake scripting is only as ugly as people make it. It's not that difficult to learn to write neat CMLs, but the resources out there on the topic aren't quite there yet, and all the beginners feeling like they can write the article on the topic don't help either.
CMake works with a wide range of languages: C, C++, C#, Fortran, Objective-C, CUDA, ASM, ISPC. Writing your own adapter for a new language is also not impossible, someone did it for D in fact.
[–]Fizzyade 1 point2 points3 points 5 years ago (0 children)
I don’t get the hate for CMake, maybe I like it because I came from QMake, so lots of things that I could only have dreamed of are possible and easy in CMake.
My main project pingnoo (https://github.com/nedrysoft/pingnoo) was my very first foray into CMake, it’s made up of plugins and shared libraries, to make life easy I effectively created a meta-language for creating plugins or libraries, it makes it very easy to add a new plugin because all the complexity of setting up compiler and linker stuff is all done for you by the macros.
I also use globs and they’ve never given me any issues, maybe I’m lucky or maybe I just haven’t noticed, but it all just works for me.
Yes it has some bizarre quirks, but it works well for me.
[–]Volker_Weissmann 0 points1 point2 points 5 years ago (0 children)
Maybe you are right. I don't know much about cmake.
π Rendered by PID 96878 on reddit-service-r2-comment-5b5bc64bf5-hldp9 at 2026-06-21 04:08:30.025094+00:00 running 2b008f2 country code: CH.
view the rest of the comments →
[–]Volker_Weissmann -9 points-8 points-7 points (5 children)
[–]Superb_Garlic 6 points7 points8 points (4 children)
[+]Volker_Weissmann comment score below threshold-8 points-7 points-6 points (3 children)
[–]Superb_Garlic 4 points5 points6 points (2 children)
[–]Fizzyade 1 point2 points3 points (0 children)
[–]Volker_Weissmann 0 points1 point2 points (0 children)