Exercise2.cpp

Go to the documentation of this file.
00001 #include "macros.h" // needs to be declared as first entry in .cpp or .h file!
00002 #include <string>
00003 #include <iostream>
00004 using namespace std;
00005 #include "AbstractExercise.h"
00006 
00012 class Exercise2 : public AbstractExercise {
00013 public:
00014 
00020     Exercise2(string name) : AbstractExercise(name){}
00021 
00022 protected:
00023 
00028     void execute();
00029 };
00030     
00036 namespace {
00037     Exercise2 proto("Exercise2");
00038 }
00039 
00040 void Exercise2::execute(){
00041     cout << "yep Exercise <"<< getName() <<"> here" << endl;
00042     cout << (-1)%4<<endl;
00043 }

Generated on Thu Jul 3 19:12:45 2008 for Exercise Framework by  doxygen 1.5.1