| 1 |
#include "cmMod.hpp" |
| 2 |
#include "genTest.hpp" |
| 3 |
#include "cpyBase.txt" |
| 4 |
#include "cpyNext.hpp" |
| 5 |
#include "cpyTest.hpp" |
| 6 |
#include "cmModLib.hpp" |
| 7 |
|
| 8 |
#ifndef FOO |
| 9 |
#error FOO not declared |
| 10 |
#endif |
| 11 |
|
| 12 |
using namespace std; |
| 13 |
|
| 14 |
cmModClass::cmModClass(string foo) { |
| 15 |
str = foo + " World"; |
| 16 |
} |
| 17 |
|
| 18 |
string cmModClass::getStr() const { |
| 19 |
return str; |
| 20 |
} |
| 21 |
|
| 22 |
string cmModClass::getOther() const { |
| 23 |
return "Strings:\n - " + getStrCpy() + "\n - " + getStrNext() + "\n - " + getStrCpyTest(); |
| 24 |
} |