Rather than delving into the specifics of how to download gcc
, make
, and all that,
I'm just going to write the bare minimum necessary for displaying Hello, World!
to the screen in
the C programming language.
This page is primarily dedicated to setting up boiler-plate, copy-and-paste templates for writing future tutorials. Anyways, here is the code:
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("Hello, World!\n");
return 0;
}
...and that's it! That's the generic hello world program that all introductory programmers make when trying a new language. Go forth!