Created
October 29, 2014 13:35
-
-
Save beporter/0aeb1c8a404c4bcc9041 to your computer and use it in GitHub Desktop.
Decided to see if I could still write C from memory.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compile: `gcc -Wall -o hello nostalgia.c` | |
// Run: `./hello` | |
#include <stdlib.h> | |
#include <stdio.h> | |
int main(int argc, char** argv) { | |
printf("Hello world.\n"); | |
return(0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Technically I overdid it. This is the bare minimum: