Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The Win32 API is the core set of application programming interfaces (APIs) available in the Microsoft Windows operating systems. This tag is for questions about developing native Windows applications using the Win32 API.
1
vote
Accepted
Check mp4 integrity in c++
Missing Header File
You need to include algorithm so that std::replace() can be accessed.
Error Checking
Rather than checking if argv[1] is null, it might be better to use argc in the error check. …
3
votes
Accepted
Compare folders and find common files
Simplify For Loops by Using Ranged For Loops
Ranged for loops have existed in C++ since C++11. A ranged for loop is basically the equivalent of a foreach loop in PHP or C#. The functions displayMap(), …
5
votes
Accepted
Proper way to send and receive buffer in Winsock
General Observations
The code is mostly readable and except in one case maintainable. The exception may be a copy-and-paste error.
Generally code isn't considered ready for review when it contains com …
5
votes
Accepted
Send command and get response from Windows CMD prompt silently
The question is very interesting, and obviously required some real time to implement.
Just a few observations and suggestions:
In the declaration of cmd_rsp() the variable size might be better named …
2
votes
Accepted
A C++ WinAPI program for changing the process priority classes via PIDs - take 2
General Observations
I think that I would have created most of this code as a class so that it could be reused by other programs. The code would also be better if it followed the SOLID programming pri …
1
vote
Simple "Connect 4" game
Usage of main()
In C++ main() should only be called by the operating system, never by the program itself, it is the entry point into the program from the operating system. The definition of main() is …
3
votes
Simple C++ Console Snake Game
General Observations
It isn't clear why you chose C++ over C: this is primarily a C program except that it uses C++ input and output. There is no use of C++ features.
When you do use C header files in …
4
votes
Accepted
This program reads from serial port, Saves this to a text file, increments file name each ti...
Welcome to Code Review, nice first question.
Don't Panic, and always take a towel with you.
General Observations
This may be a copy and paste error, but the level of indentation is inconsistent. This …