Compile and run C code using Visual Studio Code (2021)

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Awesome explanation!

It was really helpful as I was getting errors and I didn't know how to configure the debugger properly.


Thank you very much for this!

jpalvis
Автор

Thanks! Good presentation of the material!

АндрейБорисов-ио
Автор

WOW I've been stuck on a compiling error for 4 days now. This video explained everything and solved my issue! Thanks so much!!!!

Brink
Автор

This video helped me a lot. Thank you!

xtal
Автор

Thankyou Sir!!!! I am really happy with this explanation

manojcmmohan
Автор

Thanks for the video! It was helpful to get the env setup effortlessly.

vasudev
Автор

I too use VS Code. I like its simplicity and UI

mavrix
Автор

1st time I ever heard of mingw. Aren't there any other compilers ?

edwardmacnab
Автор

You are awesome. Please keep the good work my friend.

y_red_gold_a
Автор

Great intro to vscode! I don't suppose you know where to get more information setting it up for arm cross compiling Linux kernel module out of tree? Thanks!

dahunt
Автор

Thank you for this video! I've only started re-learning C/C++ recently. The VS debugger, to me, is well worth the extra steps to getting this working. Question, is there a way to have multiple files in a project all compile from Visual Studio Code, and have the debugger show status for each module as it activates?

scottmandel
Автор

This might seem as an idioitic question, but do we really require MinGW to run, C on our PC?

swaroopdeshpande
Автор

i keep getting some "only avaialbe in c99 and c11 mode" errors for some of my code, I just cant figure out to change that setting.

EdwinFairchild
Автор

Hi! How did you generate "settings.json"? I am used to Code::Blocks and I believe the compile and linker settings are in this file? I am fairly new to Visual Studio Code.

olekristianmller-hansen
Автор

This video was very helpful, thank you! I have a question: When I am debugging in Visual Studio Code, I do not see output of my printf statements, and I do not see a request for input in response to my scanf. Can you help me understand why this is, or direct me to a solution?

RichSchupbach
Автор

Hi, I'm an absolute beginner in c. I was about to delve into a 4hr course when I decided to setup vscode for c and I have down everything up to this video's Json files. I don't understand the jsons but I've noticed that vscode does everything you specified by default (I've installed code runner extension ) so I wanted to know if I'm good to go. I don't edit json files, but the build function works, and the debugger also works fine, stopping at the breakpoints. All I did was specify the same ggc run file. (excuse my misuse of terms)

islamibrahim
Автор

Debugging fonction runned to my code but launch.json not created. What do you think about it?

sevginur
Автор

Hi man, If i need set up 3 tasks for c/c++ language: "run", "compile and run" and "only compile" the current file, how I must edit the tasks.json file? I send greetings from México and thanks in advance for any help.

vidiodirector
Автор

Thank you for the video! I wrote my code exactly like yours with an int x = 15 but when I ran it, VS Code wouldn't show anything under 'variables'. Do you have any idea why that might be?

NegOedipal
Автор

hi i keep getting this error when i build my project 'cmd' is not recognized as an internal or external command,
operable program or batch file.

usedicecat