How to compile C code in Visual Studio 2008?

I want to write a console application in C in VS 2008. What type of project do I need to choose and what properties should I set for this?

+3
source share
3 answers

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

+6
source

Win32 console project ....

then add the files .... select .cpp, but name it .c :)

0
source

Visual ++ → Win32 → Win32

0

Source: https://habr.com/ru/post/1754781/


All Articles