https://www.quora.com/How-can-I-run-c11-or-c99-in-Visual-Studio-2017
- To your Visual Studio add the inbuilt CLANG support
- Create new project
- In project properties (General) for “Platform Toolset” select “Vosual Studio 2017 - Clang with Microsoft CodeGen (v141_clang_c2)
- In C/C++ “Language” section open the “C language” standard list , where you will find all the C standards relevant todayL C89, C99, C11 …select the one you wish
After this (same as ever) VS2017 will compile files with “.c” extension as C, and “.cpp” extension as C++.
Do not forget that one can change the properties on the per file basis too.