simple example for c/c++ compiling