Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Utility I wrote for GNU+Linux

Name: Anonymous 2012-02-13 3:19

It's a small utility like cat or sed that can be used on Linux systems. It's called why. Licensed under the GPLv3 (or later).

Here is the code (save it in `why.c'):
#include <stdio.h>

void main()
{
printf("Fuck you, that's why.\n");

}


Install with:
gcc -o why why.c ;sudo cp ./why /bin/why

Name: Anonymous 2012-06-03 23:28

>>38
Too primitive.

#include <Application.h>
#include <Alert.h>
#include <stdio.h>

class WhyHaiku : public BApplication
{
    public:
    WhyHaiku() : BApplication("application/why-haiku")
    {
    }

    void ReadyToRun()
    {
        BAlert* why_alert = new BAlert("Why?", "Fuck you, that's why.",
                "Okay :(", NULL, NULL, B_WIDTH_AS_USUAL, B_OFFSET_SPACING);
        why_alert->Go();
        this->PostMessage(B_QUIT_REQUESTED);
    }
};

int main(void)
{
    WhyHaiku app;

    app.Run();

    return 0;
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List