fork download
  1. #include <iostream>
  2. #include "cs.hpp"
  3. #include "ss.hpp"
  4. #include "map.hpp"
  5. #include <string>
  6. using namespace std;
  7.  
  8. ss::ss(){
  9.  
  10. }
  11.  
  12.  
  13. void ss::ssf(cs cso){
  14.  
  15.  
  16. switch(cso.nc){ //start of switch
  17.  
  18. case(1):
  19.  
  20. health = 11;
  21. dexterity = 6;
  22. heal = 3;
  23. damage = 10;
  24. mana = 2;
  25.  
  26. break;
  27.  
  28.  
  29.  
  30.  
  31. case(2):
  32.  
  33. health = 20;
  34. dexterity = 1;
  35. heal = 1;
  36. damage = 8;
  37. mana = 2;
  38.  
  39. break;
  40.  
  41.  
  42. case(3):
  43.  
  44. health = 9;
  45. dexterity = 12;
  46. heal = 2;
  47. damage = 7;
  48. mana = 4;
  49.  
  50. break;
  51.  
  52.  
  53.  
  54.  
  55. case(4):
  56.  
  57. health = 15;
  58. dexterity = 3;
  59. heal = 8;
  60. damage = 4;
  61. mana = 3;
  62.  
  63. break;
  64.  
  65.  
  66. } //end of switch
  67.  
  68. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:2:10: fatal error: 'cs.hpp' file not found
#include "cs.hpp"
         ^
1 error generated.
stdout
Standard output is empty