fork download
  1. #pragma once
  2. #include <string>
  3. #include <iostream>
  4. #include <fstream>
  5. #include "Stos.h"
  6.  
  7. using namespace std;
  8.  
  9. class Calc
  10. {
  11. private:
  12. string line;
  13. ifstream file;
  14. string result;
  15. string operation;
  16. string oper;
  17. int ilLiczb;
  18. int ilZnakow;
  19. string ex;
  20.  
  21. public:
  22. Calc();
  23. void LoadFromFile(char nazwa[]);
  24. void RPN(string operation);
  25. void Result(string operation);
  26. ~Calc(void);
  27. };
  28.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:9: warning: #pragma once in main file [enabled by default]
 #pragma once
         ^
prog.cpp:5:18: fatal error: Stos.h: No such file or directory
 #include "Stos.h"
                  ^
compilation terminated.
stdout
Standard output is empty