fork download
  1. #include <complex>
  2. #include <fstream>
  3. #include <iomanip>
  4. #include <iostream>
  5. #include <sstream>
  6. #include <string>
  7. #include <vector>
  8.  
  9. class InputDeck
  10. {
  11. public:
  12.  
  13. static void errorHandler(std::string error, int severity); //Supplies a default error handler
  14. static void warningHandler(std::string error, int severity); //Supplies a default warning handler
  15. void (*errorH)(std::string, int);
  16. void (*warningH)(std::string, int);
  17. // static void HandleError(std::string error, int severity);
  18. // static void HandleWarning(std::string error, int severity);
  19.  
  20. InputDeck(std::string pwd = "", void errorHandler(std::string, int) = NULL, void warningHandler(std::string, int) = NULL);
  21. //~InputDeck();
  22.  
  23. bool readFile(std::string filename);
  24. first firstobj;
  25. second secondobj;
  26. };
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty