Create Visual Studio 2013 Project in Pure C
1 answer
The solution is simple and simple
-
You create a new win32 console project
-
Delete default .cpp file
-
Add a new .c file as you wish
-
In properties under C / C ++ -> All Options find "Compile as" then select "Compile as C code"
-
Simple health check. This code does not work with C ++ because "new" is a reserved word for C ++.
int new = 10;
+11
source to share