I am unable to execute C++ program files on any of the text editors. What should I do now?

I have followed every tutorial on YouTube on setting up C++ in VS Code and Atom done everything they suggested, installed every required package. Error is coming for the input-output header file that is iostream.h in Atom, VS Code, Dev C++, CodeBlocks.

I think that the error is arising from the problem that my MingW’s bin isn’t containing g++.exe file but it is having g++.

After doing everything again and again I am facing this same issue in every text editor-

include errors detected. please update your include path

and

cannot open source file"iostream"

vs code snapshot

codeblocks snapshot

dev C++ code

devoutput

mingw bin folder

Source: Windows Questions C++

LEAVE A COMMENT