Switched to C++, working prompt