compiling C code

You could use a simple text editor - gedit, nano, Notepad, Notepad++ . . .

Are you saying you haven't even tried to compile this code yet?