test simple C/C++ program