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

  1. you create new win32 console project

  2. remove default .cpp file

  3. add new .c file wish

  4. in properties, under c/c++ --> options, find "compile as", select "compile c code"

two muppets

  1. simple sanity check. code doesn't work c++ since "new" reserved word c++.

    int new = 10;


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -