2019-06-28 19:21:58 +08:00
|
|
|
#include "cmMod.hpp"
|
|
|
|
#include "genTest.hpp"
|
|
|
|
#include "cpyBase.hpp"
|
2019-10-08 08:27:57 +08:00
|
|
|
#include "cmModLib.hpp"
|
|
|
|
|
|
|
|
#ifndef FOO
|
|
|
|
#error FOO not declared
|
|
|
|
#endif
|
2019-06-28 19:21:58 +08:00
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
cmModClass::cmModClass(string foo) {
|
|
|
|
str = foo + " World";
|
|
|
|
}
|
|
|
|
|
|
|
|
string cmModClass::getStr() const {
|
|
|
|
return str;
|
|
|
|
}
|
|
|
|
|
|
|
|
string cmModClass::getOther() const {
|
|
|
|
return getStr() + " -- " + getStrCpy();
|
|
|
|
}
|