minimal C++ main