
"Hello, World!" in C
Open up a terminal and enter the following commands.
$ cd ~
$ mkdir -p ~/src/c/hello_world/
$ cd src/c/hello_world/
$ vim hello_world.c
Place the following code in hello_world.c and save.
#include
#include
int main (void) {
puts("Hello, World!");
return EXIT_SUCCESS;
}
Now you need to