Create a C program in Visual Studio 2005
-
Hello. Can someone explain me how to create a C program using Visual Studio 2005? (I've been trying lots of ways, e.g. creating c++ files, and changing extension to a c file, but I was getting errors). Thanks!
-
Hello. Can someone explain me how to create a C program using Visual Studio 2005? (I've been trying lots of ways, e.g. creating c++ files, and changing extension to a c file, but I was getting errors). Thanks!
Write your program in VC++ seeing as it's an extension to the C language and just write your C code. You can ignore the C++ additions such as object-orientation etc (or go with Mike's suggestion.) [Edit] If you're looking for a good C compiler, I'd recommend Pelles C. It's free, too. Regards, --Perspx
"I've got my kids brainwashed: You don't use Google, and you don't use an iPod." - Steve Ballmer
"Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen an angry penguin charging at them in excess of 100mph." - Linus Torvaldsmodified on Sunday, October 19, 2008 7:15 AM
-
Hello. Can someone explain me how to create a C program using Visual Studio 2005? (I've been trying lots of ways, e.g. creating c++ files, and changing extension to a c file, but I was getting errors). Thanks!
New Visual Studio 2005 projects default to 'compile code as C++'. To change this, go to the project's Property Pages dialog and click the C/C++ folder, Advanced, and change Compile As to 'Compile Code As C (/TC)'.
"Multithreading is just one damn thing after, before, or simultaneous with another." - Andrei Alexandrescu