X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FTuto_Doxy%2Fsrc%2Fcpp%2Fcore%2FCat.cpp;fp=WCudaMSE%2FTuto_Doxy%2Fsrc%2Fcpp%2Fcore%2FCat.cpp;h=6eee0a05d9e4305e1a32c65f225a7e4eef611f0d;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/Tuto_Doxy/src/cpp/core/Cat.cpp b/WCudaMSE/Tuto_Doxy/src/cpp/core/Cat.cpp new file mode 100755 index 0000000..6eee0a0 --- /dev/null +++ b/WCudaMSE/Tuto_Doxy/src/cpp/core/Cat.cpp @@ -0,0 +1,52 @@ +#include + +#include "Cat.h" + +using std::cout; +using std::endl; + + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +/*--------------------------------------*\ + |* Private *| + \*-------------------------------------*/ + +/*----------------------------------------------------------------------*\ + |* Implementation *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +Cat::Cat(int poids) : + Animals(poids) + { + //not appear in doxy doc + } + +Cat::~Cat() + { + ///With tripe ///, comment appear in doxy doc + } + +void Cat::eat() + { + cout<<"Fish"<