How to create C programs using latest Visual Studio 2019

preview_player
Показать описание
In this video, I will show you the proper way to create C programs using Visual Studio 2019

Thank you for your support!
Рекомендации по теме
Комментарии
Автор

That's not all you have to do to build a C program. You also need to change Compiler mode to actually compile as C programs. Citation from Microsoft Docs:
"You can create a C-language project by using C++ project templates. In the generated project, locate files that have a .cpp file name extension and change it to .c. Then, on the Project Properties page for the project (not for the solution), expand Configuration Properties, C/C++ and select Advanced. Change the Compile As setting to Compile as C Code (/TC)."

igorthelight
Автор

For those who can't see the screen that well just do this: Open Visual Studio 2019 -> Click 'New Project' (Ctrl+Shift+N) -> Choose From the Languages Dropdown (beneath the Search for templates (Alt+S) textbox -> Choose C++ -> Select 'Empty Project' -> Once Project is Created, Right Click the Project and Choose 'Add' > Select 'New Item' (Ctrl+Shift+A) -> Name the file with a .c extension, instead of .cpp -> Click Add. DONE!

MichaelLatham
Автор

Thanks man, been so much Java I've forgotten how to set up a c programming page in visual studio to get started. Straight to the point, but all the info. Thanks!

jmwblue
Автор

I'm super beginner to all of this and I could not figure out how to run my code. You just helped me out tons!! thank you!!!!

elykeios
Автор

I've been able to get my programs in c# and c++ but my course needed it in C. thank you so much

Muush
Автор

That's a simple and good video. There are still people that disliked it... I can't believe it

fernandomorani
Автор

How do you get the compiler to sync with VS? This should have been titled "Installing C/C++ Extension in Visual Studio" You skipped the most important part for first-time users in getting the compiler to work with VS.

luisdfernandez
Автор

Thank you, Programmer Tube, for sharing.

tomnuong
Автор

Thank you. Without this video, that wouldn't have been intuitive at all. Liked and subscribed.

BrianSiegelwax
Автор

Thanks for teaching. Really good for beginners.

LeleakaLily
Автор

stdio.h requires that you have the correct library referenced by VS. If you get an error "warning MSB8003: The WindowsSDKDir property is not defined. Some build tools may not be found." You need to open Tools > Get Tools and Features > Individual Components. type "windows 10" in the search bar. check a box next to a windows 10 sdk and install. Otherwise you might not have WindowsSDKDir referenced in your VS corrrectly.

cestlextase
Автор

Clear, informative, and straight to the point. Good job!

aaaab
Автор

Thanks. Did a similar thing by creating a console program and THEN just renaming the file extension to .c in the solution explorer window.

pattok
Автор

So much easier than using VSC. Thank you.

fifis
Автор

Simple, fast and easy. thats what we all want some times thanks!

Tincho
Автор

Hab gerade Studio Code installiert und mich gewundert warum ich mit den Visual Studio How to's nichts anzufangen wusste.

Danke, toller Zufall dasdu dich damit auseinander gesetzt hast :D

richardbutzback
Автор

thank you for sharing, I was looking video or blog about this topic until a few days. but i found it thanks to you <3

berkayyilmaz
Автор

quite beautiful explanation for beginners.

beypazariofficial
Автор

Thank you
Your explanation is very clear 👍🏻
And your typing is very fast ما شاء الله 😂

qandos-nour
Автор

Please make your window smaller so we can see the text in video I can't read the text/buttons at all.

standardtrickyness