Build a Visual Studio 2013 project in pure C -
what best way this? templates seem allow c++ (which compatible c, not same.) proper way this? (a particular #define or whatever.) appreciated.
the solution simple , easy
you create new win32 console project
remove default .cpp file
add new .c file wish
in properties, under c/c++ --> options, find "compile as", select "compile c code"
simple sanity check. code doesn't work c++ since "new" reserved word c++.
int new = 10;
Comments
Post a Comment