-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Surely i need to be arrested multiple times for this one #137
Comments
|
You forgot the loop |
int APIENTRY wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, _In_ int nCmdShow)
{
while (true) MessageBoxA(NULL, "Let's get arrested", NULL, MB_ICONHAND | MB_SYSTEMMODAL);
return 0;
} |
"return" is redundant, just change WinMain to void lol |
@KuromeSan I'm sure you are one of those persons who create threads while using Win32 api by this: void MyLittleProfessionalThread()
{
}
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)MyLittleProfessionalThread, 0, 0, 0); Also you're right, you are the professional one here and we are bunch of noobs not doing anything according to the standard and the official documentation buddy. It was me who I should have been arrested by doing that lol Edit: You also do this to main too? aaa |
You guys missed Python 3
Unity 5+
|
#include <stdio.h>
int main() {
while (true) {
printf("I want to be arrested\n");
}
return 0;
} |
JS
C#
Batch
Python2.7
GameMaker
VBS
The text was updated successfully, but these errors were encountered: