std::string command; std::cin >> command; if (command == "exit) return 0;
if (strcmp(str, "eqstr") == 0) do_something();