Hi all:
I am wondering can I use Visual C++ for C program IDE. It seems to me that Visual C++ does recognize C program, but when I am going to create a project for C using Visual C++, it has no option for a new C project. Thanks!!
Hi all:
I am wondering can I use Visual C++ for C program IDE. It seems to me that Visual C++ does recognize C program, but when I am going to create a project for C using Visual C++, it has no option for a new C project. Thanks!!
Give your source files a .c extension instead of .cpp (or whatever you use for C++) and it should compile them as C. Should
Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.
- Mike McShaffry
You could also try -
Project > 'ProjectName' Properties > C/C++ > Advanced > Compile As >
And then you have an option of C, C++ or default. I guess default checks and makes up it's own mind. This is on MSVC++ '03 btw
thank! I find it too.