00001 #include "macros.h" // needs to be declared as first entry in .cpp or .h file! 00002 #include "AbstractExercise.h" 00003 00004 class Exercise2 : public AbstractExercise { 00005 public: 00006 Exercise2(string name) : AbstractExercise(name){}; 00007 00008 int execute(){ 00009 cout << "yep Exercise <"<< getName() <<"> here" << endl; 00010 return 0; 00011 } 00012 }; 00013 STORE_EXERCISE(Exercise2); 00014