Михаил Капелько 6 mesi fa
parent
commit
1615180d8d
1 ha cambiato i file con 5 aggiunte e 15 eliminazioni
  1. +5
    -15
      v4/main.cpp

+ 5
- 15
v4/main.cpp Vedi File

@@ -108,22 +108,12 @@ int main() {
ctrl.registerCallback(printOutput);
ctrl.registerFieldCallback("exit", [](memory_Context c) { exit(0); });

/*

auto c = shell_createContext();
c.cCLI = cli_createContext();
c = shell_launch(c);
std::cout << c.output << std::endl;
ctrl.set("didLaunch", true);
ctrl.set("playfieldSize", 2);

while (true) {
std::string line;
getline(std::cin, line);
c.input = line;
c = shell_processInput(c);
if (c.exit) {
break;
}
std::cout << c.output << std::endl;
std::string ln;
getline(std::cin, ln);
ctrl.set("input", ln);
}
*/
}

Loading…
Annulla
Salva