fork download
  1. #ifndef setstats_hpp
  2. #define setstats_hpp
  3. #include <string>
  4. using namespace std;
  5.  
  6. #include <stdio.h>
  7.  
  8. class ss{
  9.  
  10.  
  11. public:
  12. ss();
  13. void ssf(cs cso);
  14.  
  15.  
  16.  
  17.  
  18.  
  19. private:
  20.  
  21. friend class cs;
  22. int health;
  23. int dexterity;
  24. int heal;
  25. int damage;
  26. int mana;
  27.  
  28.  
  29.  
  30. };
  31.  
  32.  
  33. #endif
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:13:14: error: unknown type name 'cs'
    void ssf(cs cso);
             ^
1 error generated.
stdout
Standard output is empty