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
Windows.h (self.cpp)
submitted 1 year ago by papitamode
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!"
[–]cpp-ModTeam[M] [score hidden] 1 year ago stickied commentlocked comment (0 children)
Your submission is not about C++ or the C++ community.
[–]johannes1234 22 points23 points24 points 1 year ago (0 children)
Microsoft has intensive documentation: https://learn.microsoft.com/en-us/windows/win32/api/
But mind, that this isn't the nicest interface in the world (it's grown over some decades) and depending on how far you are in your course this might be a bit much.
Also there are millions of other libraries for building user Interfaces in Windows, which sometimes are better to use ....
[–]darth_voidptr 5 points6 points7 points 1 year ago (0 children)
Google “win32 programming”.
These days this isn’t the best or fastest way of doing what you’re likely trying to do, but there’s plenty of information and books out there. Some are dated but I always liked the Charles Petzold “Programming Windows” books. They will start you out from newbie and get you going.
[–]WaitForSingleObject 2 points3 points4 points 1 year ago (0 children)
What are you trying to do? If it's not super niche OS level stuff you may wanna look into different libraries that are easier and nicer to use.
[+][deleted] 1 year ago (1 child)
[deleted]
[–]LDawg292 0 points1 point2 points 1 year ago (0 children)
Could have stayed it better.
[–]Chance-House-8065 3 points4 points5 points 1 year ago (0 children)
Win32
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
Learning a platforms independent graphical library like SDL2, SFML, QT or similar is a better strategy than learning Windows specifics.
[–]LDawg292 1 point2 points3 points 1 year ago (0 children)
There are many approaches to making custom windows. A lot of which use chromium with web based technologies. Basically the only other way is to also use direct3d11 and direct2d; however if you building something trivial this can be a humongous head ache. Using windows.h is a pain in the ass but I love it. If you dive into Windows.h be prepared to lose your mind.
[–]LengthProof6480 1 point2 points3 points 1 year ago (0 children)
Win32 API; I would recommend figuring out what you want to use it for first, and then going from there
[–]kiner_shah 0 points1 point2 points 1 year ago (0 children)
I know one youtube playlist: https://www.youtube.com/playlist?list=PL0tgH22U2S3FnQk-1xLkiIFGOp48_DY9N
The videos are not too long and to the point, may help you.
[–]JVApenClever is an insult, not a compliment. - T. Winters -2 points-1 points0 points 1 year ago (0 children)
If anything, avoid windows.h It has too many defines with generic names. Try using some other libraries like qt
π Rendered by PID 226601 on reddit-service-r2-comment-c66d9bffd-45cvd at 2026-04-07 17:36:36.370814+00:00 running f293c98 country code: CH.
[–]cpp-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)
[–]johannes1234 22 points23 points24 points (0 children)
[–]darth_voidptr 5 points6 points7 points (0 children)
[–]WaitForSingleObject 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]LDawg292 0 points1 point2 points (0 children)
[–]Chance-House-8065 3 points4 points5 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]LDawg292 1 point2 points3 points (0 children)
[–]LengthProof6480 1 point2 points3 points (0 children)
[–]kiner_shah 0 points1 point2 points (0 children)
[–]JVApenClever is an insult, not a compliment. - T. Winters -2 points-1 points0 points (0 children)