How to Compile C in Visual Studio .NET
Some code like this
Code:#include <stdio.h> int main() { printf("How to compile DOS C or C++ in Visual Studio.NET"); return 0; }
How to Compile C in Visual Studio .NET
Some code like this
Code:#include <stdio.h> int main() { printf("How to compile DOS C or C++ in Visual Studio.NET"); return 0; }
Sorry for spelling errors, not English!
xxxrugby: "All Human Race Will Die From My Hand!"
xxxrugby: "We are all philosophers, when question is about politics!"
1. Choose a console project type
2. Make sure you save the file as prog.c (not prog.cpp)
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Your best bet would be to get a compiler that is C complient and allows you to run C programs with a C compiler...Have a look here for DevC++...
http://www.bloodshed.net/
hoping to be certified (programming in c)
here's the news - I'm officially certified.
C code compiles just fine in Visual Studio .NET if you do what Salem says.