I am learning C and use VS 2019 community edition.
While learning C I do not want to use any C++ features accidentally, like declaring the for variable inside the for. E.g. right now this code compiles:
for (int i = 0; i < 100; ++i)
{
...
}
But it is not C, it is C++ and I wish the compiler to tell me that.
Is it possible?