错误:variable or field ‘’ declared void
在一个新的命名空间中,定义函数参数时用到了 string 类型的参数,此时using namespace std; 使用string前面要加域作用符,即 std::string。
使用命名空间时遇到的问题
最新推荐文章于 2021-05-19 09:28:01 发布
错误:variable or field ‘’ declared void
在一个新的命名空间中,定义函数参数时用到了 string 类型的参数,此时using namespace std; 使用string前面要加域作用符,即 std::string。