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)
Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Answer accepted by question author