diff --git a/emulator/CommandParser.cpp b/emulator/CommandParser.cpp index 9f1b554..74f2841 100644 --- a/emulator/CommandParser.cpp +++ b/emulator/CommandParser.cpp @@ -4,6 +4,8 @@ #include "CommandParser.h" +#include + CommandParser & CommandParser::getInstance() { static CommandParser instance; return instance; @@ -12,7 +14,7 @@ CommandParser & CommandParser::getInstance() { std::vector CommandParser::parseLine(const std::string &input) { std::vector output{}; /// Konvertiere den Input String in einen IStringStream, damit dieser bei Leerzeichen gesplittet werden kann - std::istringstream iss(input); + std::istringstream iss(input); std::string out; do { /// Trenne den IStringStream bei jedem Leerzeichen und füge die Befehl(e)/-sargumente dem Output hinzu diff --git a/main.cpp b/main.cpp index 4ac390d..06dcdfb 100644 --- a/main.cpp +++ b/main.cpp @@ -1,3 +1,7 @@ // // Created by black on 12.06.25. // + +int main() { + return 0; +} \ No newline at end of file