25 lines
454 B
C++
25 lines
454 B
C++
#include "cmMod.hpp"
|
|
#include "genTest.hpp"
|
|
#include "cpyBase.txt"
|
|
#include "cpyNext.hpp"
|
|
#include "cpyTest.hpp"
|
|
#include "cmModLib.hpp"
|
|
|
|
#ifndef FOO
|
|
#error FOO not declared
|
|
#endif
|
|
|
|
using namespace std;
|
|
|
|
cmModClass::cmModClass(string foo) {
|
|
str = foo + " World";
|
|
}
|
|
|
|
string cmModClass::getStr() const {
|
|
return str;
|
|
}
|
|
|
|
string cmModClass::getOther() const {
|
|
return "Strings:\n - " + getStrCpy() + "\n - " + getStrNext() + "\n - " + getStrCpyTest();
|
|
}
|