我在Atom文本编辑器中安装了“外部打开”程序包。我正在使用C ++的g ++编译器。当我尝试运行它时(Ctrl + Shift + b),它显示错误:
g++: error: /mnt/c/Users/there/.atom/packages/external-open/test101.cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.
[Finished in 0.097s]
我的代码如下:
#include <iostream>
using namespace std;
int main() {
cout << "Hello World";
}
有人知道如何解决这个问题吗?
谢谢!
您的程序是正确的。我建议您使用CLion或VS Code进行编码。但您必须通过以下链接:-https://blog.jueezy.rocks/vscode
可能是choco命令已过时,但您可以从其网站上获取。