0

I think i deleted some files i shouldn't and now when i try to build files in Sublime Text it says "g++ is missing" and in VS Code it says "#include errors detected. Please update your includePath..." and "cannot open source file 'iostream'...". How can i fix this?

1 Answers1

0

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.

Brecht Sanders
  • 6,215
  • 1
  • 16
  • 40