0

No Such file or directory error in VS code.

Hello, I am having a problem with executing C++ code in Vs code . I have installed mingw 64 and added the path in windows environment. But still getting error. Can anyone please help me with it?

6th Feb 2022, 4:54 AM
Husnain Ali
1 Answer
0
Solutions: 1. Install "C++/C" extension in your vscode. 2. May be your pc architecture is 32 bit but you have installed 64 bit. If yes, then unfortunately, You have to find a 32 bit mingw or switch to 64 bit based pc. 3. Try reinstalling mingw. Basically, the problem is with header files. I think you should try reinstalling mingw, adding it to system path again or try installing the extension in vscode. Hope this helped.
6th Feb 2022, 2:56 PM
Mishu
Mishu - avatar