Hey there NGU, so today I'm going to show you guys how to make a program in C, even though there isn't any C template option.
First off, open Visual Studio and then go to click on new project. (File > New > Project). Which will then bring you to this:
You must login or register to view this content.
At this page, click next and then select the options and make your screen like the picture below:
You must login or register to view this content.
Once at this page, go to Templates > Visual C++ > then once in there, select Win32 Console Application (as seen in the picture above. Also feel free to name it and custom it's save location etc.) Once done with that click OK and you will then be taken to this page here:
You must login or register to view this content.
Once at this page, click next and make your screen look like the picture below with the same options selected etc:
You must login or register to view this content.
Once you have done that, go ahead and select finish and your screen will look like this:
You must login or register to view this content.
Now to create the C file, (make sure you have the ConsoleApplication name highlighted blue when you go to do this) you want to go up to Project > Add New Item and this screen will appear:
You must login or register to view this content.
Have the C++ File option selected like above in the picture and where it says name, all you need to do is make sure you have it like this: FILENAME.c because if you make it have a .cpp extenstion, that means it's a C++ file. Then select done and your file will be created and then you can go ahead and begin coding in the C file. Here's some code you probably would want to use if you're following this:
int main(void) //for those who don't know, you put void in here because if you don't that means the method has unlimited arguments, whereas void means it accepts NONE
{
}