Hi,
I'm teaching myself C++ using MS Visual Studio Community 2022, so I'm a newbie. I've written some code and I've decided to write the output of the application to text file, so I added these lines to my code:
include <iostream>
include <fstream>
When I build my solution, I get these errors:
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\include\yvals_core.h(28): STL1003: Unexpected compiler, expected C++ compiler.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\include\yvals_core.h(29,1): fatal error C1189: #error: Error in C++ Standard Library usage
I can't work out how to fix this, any advice appreciated!
Thank you.
I'm teaching myself C++ using MS Visual Studio Community 2022, so I'm a newbie. I've written some code and I've decided to write the output of the application to text file, so I added these lines to my code:
include <iostream>
include <fstream>
When I build my solution, I get these errors:
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\include\yvals_core.h(28): STL1003: Unexpected compiler, expected C++ compiler.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\include\yvals_core.h(29,1): fatal error C1189: #error: Error in C++ Standard Library usage
I can't work out how to fix this, any advice appreciated!
Thank you.