2019-06-28 19:21:58 +08:00
|
|
|
#include "cmMod.hpp"
|
|
|
|
#include "genTest.hpp"
|
|
|
|
#include "cpyBase.hpp"
|
2019-11-29 02:54:08 +08:00
|
|
|
#include "cpyNext.hpp"
|
2020-02-16 21:45:29 +08:00
|
|
|
#include "cpyTest.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 {
|
2020-02-16 21:45:29 +08:00
|
|
|
return "Srings:\n - " + getStrCpy() + "\n - " + getStrNext() + "\n - " + getStrCpyTest();
|
2019-06-28 19:21:58 +08:00
|
|
|
}
|