So I am using the visual studio 2019 for my C++ projects, I wanted to control the C++ version when compiling. I have changed it from "project > properties > C/C++ > Language > C++ Language standard > "
It was on Default (ISO C++14 Standard)
I used this to check the version:
#include<iostream>
using namespace std;
int main() {
cout << __cplusplus << endl;
}
But the output is 199711
I changed the C++ language standard to ISO C++17 Standard (/std:c++17)
But still the output of __cplusplus is always 199711
Any idea?