c++ troubleshooting renamed