fork download
  1. //header
  2. class thing {
  3. private:
  4. int member;
  5. void privfunc();
  6. public:
  7. thing(string name);
  8. int pubfunc(int height);
  9. };
  10.  
  11. //cpp
  12. thing::privfunc() {}
  13.  
  14. thing::thing(string name)
  15. :member(3)
  16. {}
  17.  
  18. int thing::pubfunc(int height)
  19. {}
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty