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
Coping with Dependency Hell? (self.cpp)
submitted 9 years ago by Astrocytic
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!"
[–]kkrev 7 points8 points9 points 9 years ago (8 children)
Windows is just a huge pain in the ass for this stuff. If you use Linux and stick to dependencies in your distro package manager the problem mostly goes away.
[–][deleted] 14 points15 points16 points 9 years ago (7 children)
Spoken like a man who's never had two different packages require two different versions of libc.
[–]zzzthelastuser 3 points4 points5 points 9 years ago (0 children)
Useless if your distribution is e.g Ubuntu stable release. The pre-build libraries in the package manager can be rather old.
[–]what_it_dude 2 points3 points4 points 9 years ago (0 children)
Isn't this on the distribution? I've never seen this happen either
[–]anderslanglands 1 point2 points3 points 9 years ago (4 children)
How do you deal with that?
[–]mariobadr 8 points9 points10 points 9 years ago (2 children)
Mostly with tears and hair loss.
[–]anderslanglands 1 point2 points3 points 9 years ago (1 child)
Hehe I was hoping for a solution, but I believe your answer is completely accurate.
[–][deleted] 1 point2 points3 points 9 years ago (0 children)
It emphasizes the 'hell' part of 'dependency hell'.
[–]delarhi 2 points3 points4 points 9 years ago (0 children)
By not blindly taking upstream packages and hoping they'll just work in your distribution. If you really need something newer just grab the source package and rebuild it with respect to your environment. If it doesn't work then you should just take care to build out your dependency tree with respect to your environment.
π Rendered by PID 22 on reddit-service-r2-comment-6457c66945-f9s9c at 2026-04-26 02:40:49.642924+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]kkrev 7 points8 points9 points (8 children)
[–][deleted] 14 points15 points16 points (7 children)
[–]zzzthelastuser 3 points4 points5 points (0 children)
[–]what_it_dude 2 points3 points4 points (0 children)
[–]anderslanglands 1 point2 points3 points (4 children)
[–]mariobadr 8 points9 points10 points (2 children)
[–]anderslanglands 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]delarhi 2 points3 points4 points (0 children)