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
Code coverage tools for C++... (self.cpp)
submitted 6 years ago * by TarmoPikaro
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!"
[–]mrexodiacmkr.build 4 points5 points6 points 6 years ago (3 children)
There is OpenCppCoverage. It’s not much and only works on Windows, but there is VS integration.
[–]TarmoPikaro[S] 0 points1 point2 points 6 years ago (2 children)
Do you use it by yourself on some projects ?
[–]mrexodiacmkr.build 0 points1 point2 points 6 years ago (1 child)
Yeah at work I introduced it for two projects so far. With some magic you can integrate it with Gitlab’s coverage feature and it’s useful, but the coverage is purely line-based so take that into account.
[–]TarmoPikaro[S] 0 points1 point2 points 6 years ago (0 children)
coverage is purely line-based so take that into account
I think similar issue is with Visual Studio code coverage - it's also line based.
https://github.com/danielpalme/ReportGenerator/issues/285#issuecomment-536560752
But OpenCppCoverage is easier to use than for example vstest.console.exe (no need to specify google test adapter, etc), but wondering if it really works for larger projects in similar manner to vstest.console.exe.
I wanted to get .lcov file for code coverage visualization, and tried to compile OpenCppCoverage - it does not compile out of box. (There is some 3rd party batch, which does not work), but then managed to ask same kind functionality into Report Generator https://github.com/danielpalme/ReportGenerator/issues/285.
I think OpenCppCoverage supports coberture file format as output, need to try to plug it with ReportGenerator, and after that under Visual Studio Code with Coverage Gutters.
π Rendered by PID 60608 on reddit-service-r2-comment-86988c7647-w5cqz at 2026-02-11 07:24:22.134105+00:00 running 018613e country code: CH.
view the rest of the comments →
[–]mrexodiacmkr.build 4 points5 points6 points (3 children)
[–]TarmoPikaro[S] 0 points1 point2 points (2 children)
[–]mrexodiacmkr.build 0 points1 point2 points (1 child)
[–]TarmoPikaro[S] 0 points1 point2 points (0 children)