simple C/C++ application starter