Surely i need to be arrested multiple times for this one
Opened this issue · 7 comments
LiEnby commented
JS
while(1){
alert("Arrest me plz");
}
C#
while(true){
MessageBox.Show("Arrest me plz", "Illegal", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
Batch
:f
msg %USERNAME% "Arrest me plz"
goto f
Python2.7
while True:
tkMessageBox.showinfo("Illegal", "Arrest me plz")
GameMaker
In Step Event 0:
Execute Code: show_message("Arrest me plz");
VBS
do
x = msgbox("Arrest me Plz",16,"Illegal")
loop
Frontear commented
#define please std::cout
#define arrest "arrest me"
#define me std::endl
#define forever for (;;)
int main()
{
forever {
please << arrest << me;
}
return 0;
}
LiEnby commented
You forgot the loop
0x416c69 commented
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;
}
LiEnby commented
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
0x416c69 commented
@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
AverageComet250 commented
You guys missed Python 3
while(True):
tkMessageBox.showinfo("Illegal", "Arrest me plz")
Unity 5+
while(True) {
Debug.Log("Arrest Me Plz");
};
chubbyginger commented
#include <stdio.h>
int main() {
while (true) {
printf("I want to be arrested\n");
}
return 0;
}