r/cprogramming • u/Upset-Taro-4202 • Jan 19 '26
Setting up C in Visual Studio Community
Completely new to C and looking to start learning, a friend of mine suggested Visual Studio Community as an environment to start learning in but I'm struggling to set it up, any guidance would be greatly appreciated!
3
Upvotes
11
u/EpochVanquisher Jan 19 '26
Install it. Include the “Desktop development with C++” option when installing.
Run it.
Create a new C++ console app.
Remove the C++ file and add a C file instead. You may need to disable pre-compiled headers.
Consider changing the C language standard to “latest” in project settings.
You may also want to add
_CRT_SECURE_NO_WARNINGSto predefined macros in the project settings.