diff --git a/version2.0/main.cpp b/version2.0/main.cpp index 8965282..a6a9626 100644 --- a/version2.0/main.cpp +++ b/version2.0/main.cpp @@ -20,6 +20,10 @@ nasal_runtime runtime; std::string command; int main() { +#ifdef _WIN32 + // use chcp 65001 to use unicode io + system("chcp 65001"); +#endif // this curve looks really cool std::cout<<" __ _ "<> [system] Windows system."<> [system] Windows system."<> [system] Linux system."<> [system] Linux system."<> [system] MacOS system."<> [system] MacOS system."<> Nasal interpreter ver 2.0 ."<> Code: https://github.com/ValKmjolnir/Nasal-Interpreter"<=0) + break; + tmp.push_back(source_code[i]); + } + std::cout<> [Runtime] process exited after "<> [Runtime] process exited after "<