Posted By

vybo on 03/04/14


Tagged

basic class template cpp c++


Versions (?)

class.cpp


 / Published in: C++
 

  1. #include "Class.h"
  2.  
  3. Class::Class(int arg)
  4. {
  5. m_arg = arg;
  6. }
  7.  
  8. int Class::getArg()
  9. {
  10. return m_arg;
  11. }
  12.  

Report this snippet  

You need to login to post a comment.