I use MS Visual C++ 2005 and in addition to naming my C files .c, I also go into the project properties to the C/C++ -> Advanced tab. Then change the "Compile As" property to "Compile as C code" (i.e. the /Tc option that Salem mentioned).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.