C++ standalone: Added results and debug messages