I am completely new to C++ development and am trying to learn it in Visual Studio. How can I be sure that I am learning only C++ and not the managed extensions? What configuration settings do I need to change? What project types should I stick to? Any other advice?
Side issue:
I have tried turning off Language Extensions under
Project properties -> C/C++ -> Language -> Disable Language Extensions
but this has generated a compiler error:
Error 1 Command line error D8016 : ‘/Za’ and ‘/clr’ command-line options are incompatible
I’ve no idea what’s going on here ..
The fact that you have
/clrswitch in there means you’re using a .Net project type – you need to choose a “Win32” project type to get a pure C++ project.Avoid anything calling itself “managed” or “CLR”.