views:

40

answers:

4

I want to write a console application in C in VS 2008. What project type do I need to select and what properties I must set in order to do this?

A: 

Win32 Console Project....

then add files....select .cpp, but call it a .c :)

Keith Nicholas
A: 

Visual C++ -> Win32 -> Win32 Console Application

Gary
+1  A: 

C++ - Projects - Win32 Project - Console Application. When application is created, rename .cpp files to .c. In the Project Properties, C++, Advanced, select Compile As C code (/TC).

Alex Farber
I like your answer. I thought this is more complicated. If there are no more better answers, I will mark this one as correct.
Matthew Murdock
A: 

Do you know this language? This video may be helpful.

Praveen S