Giter VIP home page Giter VIP logo

Comments (7)

Frontear avatar Frontear commented on July 4, 2024 2
#define please std::cout
#define arrest "arrest me"
#define me std::endl
#define forever for (;;)

int main()
{
    forever {
        please << arrest << me;
    }
    return 0;
}

from lets-get-arrested.

LiEnby avatar LiEnby commented on July 4, 2024 1
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

from lets-get-arrested.

LiEnby avatar LiEnby commented on July 4, 2024

You forgot the loop

from lets-get-arrested.

0x416c69 avatar 0x416c69 commented on July 4, 2024
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;
}

from lets-get-arrested.

0x416c69 avatar 0x416c69 commented on July 4, 2024

@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

from lets-get-arrested.

AverageComet250 avatar AverageComet250 commented on July 4, 2024

You guys missed Python 3

while(True):
    tkMessageBox.showinfo("Illegal", "Arrest me plz")

Unity 5+

while(True) {
    Debug.Log("Arrest Me Plz");
};

from lets-get-arrested.

chubbyginger avatar chubbyginger commented on July 4, 2024
#include <stdio.h>
int main() {
    while (true) {
        printf("I want to be arrested\n");
    }
    return 0;
}

from lets-get-arrested.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.