// this is for gcc
// 改动:增加了 cmd/c ,实现弹出窗口输出
// 改动:临时改动codepage,使用chcp 65001临时变更代码页以实现中文正常输出
"cpp": "start cmd /c \"chcp 65001 >nul && cd $dir && del /f /q $fileNameWithoutExt.exe >nul & g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt & pause\" ",
/ this is for python,照猫画虎对着CPP的来写的。
// 改动:增加了 cmd/c ,实现弹出窗口输出
// 改动:临时改动codepage,使用chcp 65001临时变更代码页以实现中文正常输出
"python": "start cmd /c \"chcp 65001 >nul & cd $dir & python -u $fileName & pause\" ",
不完善,先记着。下一次搞定GO和Rust
老头子学电脑,就是这么其乐无穷。😁
浙公网安备 33010602011771号