1 #include "cmMod.hpp" 2 #include "genTest.hpp" 3 #include "cpyBase.hpp" 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 cmModClass(string foo)14cmModClass::cmModClass(string foo) { 15 str = foo + " World"; 16 } 17 getStr() const18string cmModClass::getStr() const { 19 return str; 20 } 21 getOther() const22string cmModClass::getOther() const { 23 return "Srings:\n - " + getStrCpy() + "\n - " + getStrNext() + "\n - " + getStrCpyTest(); 24 } 25