Answer the question
In order to leave comments, you need to log in
Is it possible to write in Microsoft Visual Studio 2015 in C without C++?
A console program is required in plain C (C), can I write in Visual Studio? Is there any special meaning in the .cpp extensions before .c, since Visual Studio only generates .cpp? Or have I misunderstood something?
Answer the question
In order to leave comments, you need to log in
1. It is the extension *.c that should be
2. In the project settings, you can set how to compile (default / C ++ / C)
How to create a project in Visual Studio in C and print the result to the console?
It is possible, there is a difference during compilation, it is easy to check, for example, the bool type is not in C, and Visual Studio only generates C ++ projects because there is no point in limiting yourself to C.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question