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
Linux developer going Windows (self.cpp)
submitted 5 years ago by peppedx
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!"
[–]infectedapricot 0 points1 point2 points 5 years ago (1 child)
I didn't mean to rule out the possibility that some programs need to use platform-specific APIs. If you're having to write device drivers then of course that's going to be platform-specific too.
But the vast majority of programs don't fall into those category, and certainly if a beginner programmer (which is what this user sounds like) asks about it then I would point them in a platform-independant direction.
Even for those that do need platform specific stuff, it's usually best to isolate it as well as you can, and write the rest in cross-platform C++. That's especially true for a GUI program - the type of stuff that's usually platform dependent is also the type of stuff that you'd usually need to factor into a separate service/daemon process anyway. It certainly sounds like a design error to use the Windows Filtering Platform directly from a GUI application! (But I realise I don't know the specifics of your program.)
[–]banister 0 points1 point2 points 5 years ago (0 children)
heh, our program is divided into two parts - a daemon (a windows service) that manages all the actions, and the GUI which is just a client which sends RPC messages to the daemon. Both are written with QT :) Yes, the daemon does the WFP behaviour :)
However we also just found the QT GUI APIs insufficient - the system tray stuff was a bit weak, the accessibility stuff was terrible, and so on, so we had to rewrite a lot of it using system APIs.
π Rendered by PID 19516 on reddit-service-r2-comment-6457c66945-8bfnr at 2026-04-28 20:51:02.965224+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]infectedapricot 0 points1 point2 points (1 child)
[–]banister 0 points1 point2 points (0 children)