将函数的主体实现为单独的.cpp文件和错误
我无法弄清楚我的源文件之一出了什么问题。最普遍的错误是声明问题。
My main.cpp is fine, and my header file has no errors. I tried adding #include <string> and using namespace std; to the other .cpp file, but it changed nothing.
main.cpp(好)
//preprocessor directives
#include <iostream>
#in...