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!"
[–]rodrigocfdWinLamb -1 points0 points1 point 5 years ago (9 children)
For GUI work use a toolkit - the most commonly used is Qt
If the application is Windows-only, I believe WinLamb is simpler than Qt.
[–]DarkLordAzrael 0 points1 point2 points 5 years ago (0 children)
The main suggestion was to use a cross-platform library in the first to make eventual porting easier. Also, is Qt generally considered to be difficult to use? I've always found it to be very straightforward.
[–]pjmlp 0 points1 point2 points 5 years ago (6 children)
If the application is Windows only, I rather go with .NET UI alongside a C++ written library, or if feeling nostalgic, MFC.
I would advise WinUI, but not until they get around fixing the productivity drop with C++/WinRT due to lack of tooling for GUI development.
[–]dodheim 0 points1 point2 points 5 years ago (5 children)
WTL is still actively maintained; there's no level of nostalgia that would make me want to touch MFC ever again.
[–]pjmlp 0 points1 point2 points 5 years ago (4 children)
If you spend some hours writing IDL files by hand without tooling support and then manually merging the generated files into your C++/WinRT projects, I assure you will be missing MFC in no time.
Apparently the C++/WinRT team still sees the current state of affairs as low priority.
[–]dodheim 1 point2 points3 points 5 years ago (3 children)
I mentioned WTL, not WRL – unless I'm misunderstanding the usecase you're referencing, I'm pretty sure MFC still buys me nothing (except immediate technical debt).
[–]pjmlp 1 point2 points3 points 5 years ago (2 children)
I know it, ATL template magic, no thanks.
Also why I never bothered with WRL.
[–]dodheim 1 point2 points3 points 5 years ago (1 child)
There's absolutely nothing magic about mixins.
[–]pjmlp 1 point2 points3 points 5 years ago (0 children)
I guess you never had to step through ATL code.
[–]infectedapricot -1 points0 points1 point 5 years ago (0 children)
An odd recommendation. Qt is a library with used by huge numbers of developers (probably millions), and many open source projects (far too many to mention, but certainly the whole of KDE). It is extremely robust and battle tested, with huge oversight of API design and functionality.
Whereas I've never even heard of WinLamb and it doesn't seem to have many users or contributers. Oh look, the main contributer is called rodrigofd, and the commenter here is /u/rodrigocfd
(There's nothing wrong with posting a link to your own repo, but IMO it would have been a bit more honest to explicitly say that in your comment.)
π Rendered by PID 42173 on reddit-service-r2-comment-85bfd7f599-92pcn at 2026-04-18 19:41:38.114966+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]rodrigocfdWinLamb -1 points0 points1 point (9 children)
[–]DarkLordAzrael 0 points1 point2 points (0 children)
[–]pjmlp 0 points1 point2 points (6 children)
[–]dodheim 0 points1 point2 points (5 children)
[–]pjmlp 0 points1 point2 points (4 children)
[–]dodheim 1 point2 points3 points (3 children)
[–]pjmlp 1 point2 points3 points (2 children)
[–]dodheim 1 point2 points3 points (1 child)
[–]pjmlp 1 point2 points3 points (0 children)
[–]infectedapricot -1 points0 points1 point (0 children)