摘要:
sample://part A//tmp.hpp#ifndef TEMP_HPP#define TEMP_HPPclass tmp { public: void print(); private: std::string str2;};#endif// part B//tmp.cpp#include #include "tmp.hpp"#include "test.hpp"using namespace std;void tmp::print() { str2 = " this is the tmp print ... 阅读全文