Compile all given C/C++ files and write some tests for C++