mithriltabby: Graffito depicting a penguin with logo "born to pop root" (Hack)
[personal profile] mithriltabby
There’s a tradition in introductions to new computer languages (which dates back to the original book on The C Programming Language by Kernighan and Ritchie, if not before) of writing a program that just prints Hello, world! Is anyone else in the habit of making theirs print Goodbye, cruel world! instead?

Date: 2004-10-29 02:57 pm (UTC)
From: [identity profile] abditus.livejournal.com
#import <stdio.h>

int main() {
    printf("Goodbye, cruel world!\n");
    return main();
}

Date: 2004-10-30 05:43 am (UTC)
From: [identity profile] artslave.livejournal.com
Thought you might be amused by the Hello world program (http://en.wikipedia.org/wiki/Hello_world_program) article at Wikipedia -- especially some of the links at the bottom to some of the more obscure variants....

October 2025

S M T W T F S
   1234
5678 91011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

  • Style: Midnight for Heads Up by momijizuakmori

Expand Cut Tags

No cut tags
Page generated Jan. 27th, 2026 07:43 am
Powered by Dreamwidth Studios