fork download
  1. #include <string>
  2. #include <vector>
  3. #include <utility>
  4.  
  5. // Das sind nur 2 Klassen + 1 Funktion
  6. class Relatives {
  7. public:
  8. std::string first;
  9. std::string second;
  10. std::vector <std::string> exc;
  11. std::string flag;
  12. };
  13. class ParseResult {
  14. public:
  15. std::vector<Relatives> Relate; //-r -f -e
  16. std::vector<std::string> Filter; //-o
  17. std::vector<std::string> ListAlways; //-a
  18. std::vector<std::string> RepairFlagged; //-m
  19. std::vector<std::pair<std::string, std::string> > Declarations; //-d
  20.  
  21. ParseResult()
  22. :Relate(), Filter(), ListAlways(), RepairFlagged(), Declarations()
  23. {
  24. }
  25. };
  26.  
  27. ParseResult run_comparison_script(const std::string& script) {}
  28.  
  29. int main() {
  30. run_comparison_script("does not matter"); // bye bye Programm
  31. return 0;
  32. }
Success #stdin #stdout 0s 3012KB
stdin
Standard input is empty
stdout
Standard output is empty