'visual studio error e1696 -"cannot open source file iostream"

When I build a cmake project in visual studio and this error occurs, I tried to uninstall and reinstall visual studio but it did not work. the Build succeeded and the program ran but in error list I got the error "cannot open source file "iostream"". I use the visual studio 2022 program.

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source