Solution for Exercise 1-1

ex0101

#include <stdio.h>
#include <stdlib.h>

int main()
{
    printf("Hello world!\n");
    return 0;
}

Notes

* No secret here, the above source code is from the Code::Blocks skeleton file.

* I really wish they provided an easy way to replace that file with something else, so that every time you started a new project the main.c file was either blank or just more minimal.