我可以构建C++文件了
我想我删除了一些我不应该的文件,现在,当我尝试在崇高的文本中构建文件时,它说“ g ++丢失了”,在vs代码中,它说“ #include错误检测到了。请更新您的IncludePath ...”和“无法开源文件“ iostream'...”。我该如何解决?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您打破了安装,则需要重新安装破裂的内容。
如果您只需要GCC工具链并且不想要安装的Hastle,则可以从并将其提取到文件夹中。
如果对单独的文件夹这样做,则可以将现有的安装不变,但是您需要将VS代码设置指向其中。
If you broke your installation, you need to reinstall what you broke.
If you just need a GCC toolchain and don't want the hastle of installing, you could get a standalone build from https://winlibs.com/ and extract it to a folder.
If you do this to a separate folder you can leave your existing installation untouched, but you will need to point the VS Code settings to it.