更改文件夹名。
This commit is contained in:
19
FinalProject/main.cpp
Normal file
19
FinalProject/main.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "StudentInfoManager.hpp"
|
||||
#include "Tools.hpp"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
#if defined _WIN64 || defined _WIN32
|
||||
system("chcp 65001");
|
||||
#endif
|
||||
enableEchoBack(); // Just in case
|
||||
StudentInfoManager *studManager;
|
||||
if (argc > 1) {
|
||||
studManager = new StudentInfoManager(std::string(argv[1]));
|
||||
}
|
||||
else {
|
||||
studManager = new StudentInfoManager();
|
||||
}
|
||||
studManager->mainloop();
|
||||
delete studManager;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user