优化;删除预编译字节码

This commit is contained in:
xx
2024-06-01 14:08:44 +08:00
parent 2df927b62e
commit 417f6a4d82
29 changed files with 608 additions and 621 deletions

View File

@@ -5,10 +5,22 @@
int main()
{
std::string config_filepath = std::filesystem::current_path().string()+"/config.ini";
if (fastweb(config_filepath.c_str()) != 0)
if (fastweb_start(config_filepath.c_str()) != 0)
return -1;
while (true)
std::cin.get();
{
std::string input;
std::cin >> input;
if (input == "quit" || input == "exit")
{
fastweb_close();
std::cout << "closed";
break;
}
else
std::cout << "Enter \"quit\" or \"exit\" to exit the application" << std::endl;
}
return 0;
}