给定 std::string name = "YOUR_NAME";,在不修改两条输出语句的情况下,哪项编辑可以为程序设置个人姓名?
std::string name = "YOUR_NAME";
将 greeting.cpp 重命名为 hello.cpp。
greeting.cpp
hello.cpp
删除整个 main 函数。
main
将字符串值 YOUR_NAME 替换为选定的姓名。
YOUR_NAME
删除两条 cout 语句。
cout