At a minimum, if you want to use C/C++ install the complete VS2022 Desktop development for C++ workload.
Visual Studio 2022 "Cannot open source file" Problem
Mohamed El-sherif
20
Reputation points
Hi, I have a problem , when i installed Visual Studio 2022 community i selected only this in installation detail C++ ATL and Windows 10 DSK (10.0.2348.0) and intellicode .
- when i run code , it appears "can't open source file "iostream" "
- identifier "cout" is undefined.
(Additional information that may help you solve the problem)
- I have Visual studio code for python
- I installed mingGW and deleted it again For VSC
- I installed MSYS2 and deleted it again For VSC
notice: iam new user in Visual Studio and Learing C++ 🙃
(Sorry for the English mistakes and bad typing because I am a new learner of English)