C++ program, for jUnit/Robotium conversion