How to set up Visual Studio Code for Executing and Debugging C Programs | Tutorial

Поделиться
HTML-код
  • Опубликовано: 15 июл 2024
  • In this tutorial, you will learn How to Set up Visual Studio Code for Creating and Executing and Debugging C Programs.
    00:00 Introduction
    00:51 Check gcc and gdb are installed
    02:02 Set up Visual Studio Code Work Space
    05:12 Installing C/C++ Extension in VS Code
    06:30 Set up Build Task and Run Program
    11:51 Configure Task to Build and Run Executable File
    19:33 Set up Vs code for debugging
    21:33 Debug C Program using a Break Point
    23:49 Configure C/C++ Properties
    Visual Studio Code is the widely used editor in Computer Programming field.
    It is the best editor for a beginner in programming because it is simple, easy to set up and has all those features needed.
    First you need to Download and Install C C++ toolset ( Compiler , linker etc ) like mingw-w64. After that you need to install Visual Studio Code.
    Download and Install gcc using Mingw-w64 and msys2
    • How to Download and In...
    Download and Install Visual Studio Code
    • How to Download and In...
    Our Website
    www.LearningLad.com
    Social Media
    Facebook / learninglad
    Twitter / learningladedu
    Instagram / learningladofficial

Комментарии • 423

  • @naveed_snr
    @naveed_snr 2 года назад +115

    Tip: If you're using PowerShell as your default terminal (which is mostly the case for newer windows versions unless you have manually tweaked some settings) and are getting an error message after configuring Build and Run task, just set cmd as the default terminal or at 14:33 , replace the '&&' with a ';' as && is not recognized by powershell. BTW this is one of the best and most complete tutorials that you can find on VS Code setup.

    • @asmita7217
      @asmita7217 2 года назад +4

      thank you so much for this, as i was facing this problem. you are a life saver :)

    • @user-fm5ue1sc2h
      @user-fm5ue1sc2h 2 года назад +3

      I am so appreciate that you help me escape the nightmare!

    • @sourabhsinghrawat9066
      @sourabhsinghrawat9066 2 года назад

      Bro at which place?

    • @ternurasan
      @ternurasan 2 года назад

      You are a lifesaver! Thanks a lot!!!

    • @ternurasan
      @ternurasan 2 года назад

      @@sourabhsinghrawat9066 in the big line at 14:33 he uses && to connect "... .exe &&${fileDirname}..." instead of using && try using ; only, in case you're getting an error when running the code!

  • @snehanshourya3850
    @snehanshourya3850 2 года назад +2

    Thank you so much, before watching your video I spent 2 days reading here and there on how to debug. All articles are so full of bs! I was so frustrated, I downloaded Visual Studio Community but couldn't get it to work either. But you solved the problem in 20 mins! Thank you from bottom of my heart.

  • @rohitpol
    @rohitpol 2 года назад +9

    Congratulations folks you guys have earned a rocket 🚀 science degree

  • @rockymountainfacet5958
    @rockymountainfacet5958 Год назад +1

    You are my hero. I have been trying to fix my vs code's .json error for a wile. I actually started using a different program because of it. I like vscode for python and wanted to be able to use c++ on it. but it was giving me .json errors. anyways you fixed it for me with this video. Thank you so much. I would give you a big hug if I could. God bless

  • @bekzodhakimov4573
    @bekzodhakimov4573 2 года назад +17

    My man, i was trying to fix this debugging and executing c program issue for like whole 1 day. I tried many things other youtubers told. all ended with more issues. I am new to programming, i dont know what i was doing. This video fixed all. Thanks. I subscribed

  • @Missing2ndgear
    @Missing2ndgear 2 года назад +2

    Thank you for making this video, it helped me so much in setting up the c programming in visual studio code.

  • @fatihcay3387
    @fatihcay3387 2 года назад +1

    The most video that i have ever seen about vsc debugging , thanks!!

  • @chanchalsrajanagrawal7545
    @chanchalsrajanagrawal7545 2 года назад +2

    The best ever video for setup of vs code
    I have ever seen
    😘🔥🔥🔥
    Much appreciated😊😊

  • @surxo-dk3xi
    @surxo-dk3xi 3 года назад +8

    Thanks for these tutorials! Really helpful.

  • @javabl3ck
    @javabl3ck Год назад

    Yo, this is some of the best programming tutorial I have seen ever. This guy knows his stuff. Thanks man.

    • @stephaniewanza8147
      @stephaniewanza8147 Год назад +1

      Hello, do you get this "replace the '&&' with a ';' as && is not recognized by powershell" I tried it on my Vs Code and it's giving an error. Pleaase help if you can

    • @javabl3ck
      @javabl3ck Год назад

      @@stephaniewanza8147 you are probably not using powershell as your default terminal. You should use the default code as it comes.

  • @lucas-jg2ce
    @lucas-jg2ce 2 года назад +3

    Man you always fix everything, thank you so much!

  • @atticusfoust6389
    @atticusfoust6389 2 года назад +2

    If you're getting a gdb error, run sudo apt-get install gdb
    Only video I've seen that explains what is needed and more. Thank you sir!

  • @amolmagar6468
    @amolmagar6468 3 года назад +4

    Thanks for every single reply and giving so much time 🙏😍

  • @twotwo5579
    @twotwo5579 2 года назад +4

    Wow, u are amazing! You explain it very details. Thank you.

  • @usmanyousef1949
    @usmanyousef1949 3 года назад +55

    Prior to using VSC, I used CodeBlocks in my last programming class and compiling, running, and debugging seemed much simpler. I'm not going to lie, this has been pretty intimidating!

    • @chandrashekarr1977
      @chandrashekarr1977 2 года назад +3

      I am from turbo c c++ era... It was much simpler than these modern day craps... For the first time, am seeing a software from Microsoft which is not at all user friendly! Horrible

    • @mortenlund1418
      @mortenlund1418 2 года назад +3

      I have been folowing another tutorial on this subject (fortunately) and it is so much simpler. I cant think of a more complex way to get the same tasks done than this - ok if you choose to start digging for silicium to make your own chips maybe. I am a beginner and what I installed that did all what he is showing here ? For one an extension called coderunner. You only have to press a play botton.

    • @adityasrivastava6097
      @adityasrivastava6097 2 года назад

      1000%agree

    • @senuthmeerathnayake7899
      @senuthmeerathnayake7899 Год назад

      so true...

    • @TechnoSan09
      @TechnoSan09 Год назад

      ya but why im switching to VSC is in c::b i cant have more than one file in a project and cb doesn't compile the file which i'm working on and generates an error when there're more than one file with main() presented in a project

  • @isabelescarlette2021
    @isabelescarlette2021 2 года назад +1

    Great tutorials, thank you very much!

  • @lucasjoseserena2473
    @lucasjoseserena2473 2 года назад +1

    Thank you very much for the detailed information. You got a new suscriber :)

  • @paschalerhurun6488
    @paschalerhurun6488 2 года назад +1

    This tutorial was truly helpful

  • @sandeeppremkumar8227
    @sandeeppremkumar8227 2 года назад +1

    Hey Man, Really Awesome Video,
    I seen lot of videos those all are really dumb,
    your video is clearly working in my PC
    Compiler Installation video also Really helpful to me,
    Thank You So much for this Video...

  • @md.nahidulalamchowdhury9568
    @md.nahidulalamchowdhury9568 2 года назад +1

    Thanks a lot, Sir!!! Keep going.

  • @ak_propra
    @ak_propra 2 года назад +1

    Perfect! Thanks a lot!

  • @UltraDumbass1782
    @UltraDumbass1782 Год назад +5

    I could not possibly explain how many likes I'd give this video if I could. This series has literally saved my life an untold number of times, and I would never have figured out any of this on my own. For that, I have to say THANK YOU.

  • @fitivegaming
    @fitivegaming 2 года назад +1

    Thanks for the video it worked! 😀

  • @thatguy8278
    @thatguy8278 3 года назад +30

    To execute Hello World in the Terminal I had to use ./"hello wrold"

  • @vrajpatel1877
    @vrajpatel1877 3 года назад +1

    Thank you very very much for this video

  • @poddypust759
    @poddypust759 2 года назад +2

    Youre a genius, thank you

  • @khushinayak1413
    @khushinayak1413 2 года назад

    This video is really helpful tysm ✨

  • @MarinaPopelov-df7pc
    @MarinaPopelov-df7pc Год назад +3

    Best tutorial ever! I was already desperate when I found it and it really helped me, huge thank you!
    Also, maybe someone can help me with one issue, despite placing the " \" " (17:54), I still got problems with the spaces when parsing the paths, maybe someone knows what can it be?

  • @massimoramaj3233
    @massimoramaj3233 2 года назад

    very useful video
    i learnd to much from this vido it was very educationa

  • @michaelstuart2648
    @michaelstuart2648 Год назад

    Best tutorial! Thank you! Although the task configured to only build and run the file is not working

  • @devdoshi1052
    @devdoshi1052 3 года назад

    Than you soo much

  • @CalcTM
    @CalcTM Год назад

    By far the most informative tutorial for VSC

  • @suryansh70
    @suryansh70 2 года назад +1

    thank u sir nice explanation looking for this

  • @mohammedimran6707
    @mohammedimran6707 2 года назад +21

    when I tried to build an executable file,I got an error"gcc.exe: fatal error: cannot execute 'cc1': CreateProcess: No such file or directory'' can you explain?

    • @pinsie0524
      @pinsie0524 Год назад +2

      Hi Imran. I had the same error too. Then I realised that you should name your file 'HelloWorld.C' without any spacing between the 'Hello' and 'World'. Worked for me and hope that it helps.

    • @dsniloy9289
      @dsniloy9289 Год назад +1

      I tried but it still shows cc1.exe: fatal error(no such file or directory)

  • @tovhidislam2129
    @tovhidislam2129 3 года назад

    Thanks a lot bro

  • @thaboleroytheosmketsu8864
    @thaboleroytheosmketsu8864 3 года назад +11

    I am getting an error message which says && is not a valid statement separator in this version.

    • @aayushi8784
      @aayushi8784 3 года назад +2

      @Anirban Kopty how to upgrade this to 7.1 ? (i am getting same error as mentioned in above comment)

    • @alameen2784
      @alameen2784 2 года назад +2

      @Anirban Kopty Thanks it worked!

    • @RandMV
      @RandMV 2 года назад

      @Anirban Kopty Thanksss it workeeeddd!!!!

    • @toressuarez
      @toressuarez 2 года назад

      @Anirban Kopty thanks dude, your recommendation worked

    • @anonimatejust5349
      @anonimatejust5349 2 года назад

      @@aayushi8784 what is it to update? can't follow through. tia

  • @justUry23
    @justUry23 10 месяцев назад

    it worked

  • @surabhiseth49
    @surabhiseth49 Год назад

    Thank you for the tutorial. Its really helpful. Can you please share the link of tutorial using the Code runner extension?

  • @yifeizhou1983
    @yifeizhou1983 3 года назад +2

    My debugger works, but a problem appears every time. It says "property console is not allowed" for the launch.json file. It doesn't seem to impact anything at the moment, but do you know what I can do to fix it?

  • @hoangkhang5591
    @hoangkhang5591 Год назад +1

    Very helpfull!

  • @AnilKumar-wz4zr
    @AnilKumar-wz4zr 3 года назад +1

    Thank You

  • @akshayshah8339
    @akshayshah8339 2 года назад +2

    In launch.json file when i write
    "externalConsole": true , it work fine with other console during debugging but as you did in the video when I put "externalConsole": false, terminal get stucked. It is not printing anything and also not allow to write anything for giving input. Could you help with this? In the video your terminal is working fine during debugging and i want the same.

  • @16anurag9
    @16anurag9 2 года назад +3

    + ~~
    The token '&&' is not a valid statement separator in this version.
    + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : InvalidEndOfLine could you help please

    • @adilch9793
      @adilch9793 2 года назад +1

      replace && with ;

    • @letdoit1222
      @letdoit1222 9 месяцев назад

      @@adilch9793 na man it's not happening 😭

  • @malek6610
    @malek6610 3 года назад +2

    thanks a lot.
    I'm having a small issue.
    Whenever I name my folder/file, I get the message " the name ..... is not valid"
    can you help me, please?

  • @desp1c
    @desp1c Год назад +1

    Если вы не понимаете, что происходит в VSCode, или у вас просто какая-то ошибка, то лучше канала, пожалуй, не найти. Искал много русскоязычных объяснялок, только голову поломал. Тут всё кратко, и ясно.

  • @cyber_dbs
    @cyber_dbs 2 года назад +1

    nice tutorial

  • @anonymous-sk2pr
    @anonymous-sk2pr 2 года назад +1

    while building like you did at 9:55 it is showing errors such as 'undefined reference to cin' and 'undefined reference to cout, help me what to do im doin the same for c++

  • @prasadwakle2462
    @prasadwakle2462 2 года назад +2

    If the code runner extension is installed is it still necessary to set up build task?

  • @abhijithraj8387
    @abhijithraj8387 2 года назад +1

    Thanks sir..

  • @pravinbadhe5004
    @pravinbadhe5004 3 года назад +7

    Hi
    Go to
    view -> command palette
    Search for select default shell
    Choose cmd.exe
    Then also I have problem The token '&&' is not a valid statement separator in this version.

    • @LearningLad
      @LearningLad  3 года назад

      yes
      thank you for posting :)

    • @usmanyousef1949
      @usmanyousef1949 3 года назад +1

      This fixed the "&&" problem within the task for me. Thank you!

    • @TheC0ntrast
      @TheC0ntrast 3 года назад

      Awesome! Your post helps me to fix "&&" problem. Thank you!

    • @user-jm3uj6ri1b
      @user-jm3uj6ri1b 2 года назад

      That's help a lot, thank you!

  • @pianissimo7121
    @pianissimo7121 2 года назад

    what if you have multiple .c files in src and the.h files in include folders, and a make file to build everything, I can now only run the code in terminal and cant debug it.

  • @mu0325
    @mu0325 2 года назад

    Thank you for all the hard work, but why would anyone want to go through this while they can just use a C/C++ IDE?

  • @speedy9778
    @speedy9778 2 месяца назад +1

    GOAT

  • @sreekarg7583
    @sreekarg7583 2 года назад

    Can u plz explain about CI continuous integration process for C and C++ programs, rite from src code merging to github and building and static code analysis wrt. quality and security stds, and building artifact out of it.

  • @pratyush8983
    @pratyush8983 Год назад +2

    Still problem continues.
    Not able to run debugger.

  • @victorpaivapauloneto525
    @victorpaivapauloneto525 Год назад +1

    bro i love u

  • @nadiam6791
    @nadiam6791 2 года назад

    i have a question.Can we write in terminal gcc -o hello world hello world.c to compile and then ./hello world instead of the prosess you made?

  • @mikestanzel1192
    @mikestanzel1192 2 года назад +1

    Thanks for the help. I never did get the “run this C program” to work though. Several errors such as && not allowed in this version, I was running power shell then tried bash. I need to have “./“ before the name when I run an executable. I’m sure I will get it figured out with more experience so I saved the work.

    • @itsTarik
      @itsTarik 2 года назад +1

      me too the error is "The token '&&' is not a valid statement separator in this version"
      did you find a solution?

    • @stephaniewanza8147
      @stephaniewanza8147 Год назад

      @@itsTarik hello.. did you get to know what to use instead of &&

    • @itsTarik
      @itsTarik Год назад

      @@stephaniewanza8147 try changing VSC terminal to cmd (the default was PowerShell)

  • @rowenasolar7275
    @rowenasolar7275 2 года назад

    Hi, I have one question about setting up build task and run program. Everytime I tried to type run exe file, it jumps out cmd and type this sentence in cmd "Enter your age: " I just type a number and it closed then it shows this sentence in the terminal in Visual Studio code "Enter your age: " and I type the same number it print out what it is in our program. Do you know why? If there is a problem?

  • @mansidara7427
    @mansidara7427 3 года назад

    @learninglad I am not able to debug since the build task is failing due to some errors however have followed your steps clearly also have installed everything watching your videos please help me out

  • @vidiyal4156
    @vidiyal4156 2 года назад

    Hi, Thanks for this useful video. when I tried to build an executable file(same program in try C language), I got an error"gcc.exe: fatal error: cannot execute 'cc1': CreateProcess: No such file or directory'' can you explain plz...

  • @roopeshverma9719
    @roopeshverma9719 3 года назад

    I am getting an error that File exited id="1", during RUN AND DEBUG step, please help

  • @mmmzzz2737
    @mmmzzz2737 Год назад

    I don't have a launch file like shown in the video. Actually after pressing Run and Debug button İt automatically debugged the file without configuration.
    Do I need a launch.json file that badly?

  • @mushfiqaraf5079
    @mushfiqaraf5079 3 года назад +1

    Hey Mr. Anil, can you plz say which recorder do you use and which software for editing these videos, plz reply 🙏🙏

  • @alexagomez111
    @alexagomez111 3 года назад +9

    Thank you very much for your tutorials! My only issue is when I try to run and debug after selecting C++ (GDB/LLDB) I doesn't give the tasks to choose from, instead I get an empty launch.json with no configurations on it. Do you have any solution for this? Thank you.

    • @LearningLad
      @LearningLad  3 года назад

      Have you installed c c++ extension?

    • @VorT6
      @VorT6 3 года назад +1

      Had to manually write and edit the json. Had the same issue. But @LearningLad did a very nice tutorial here! Kudos from me for starting point.

    • @yogesh2395
      @yogesh2395 2 года назад +3

      @@VorT6 hey bro can you pl tell the hole thing which you have typped in json

    • @m3ndez435
      @m3ndez435 2 года назад +2

      delete the whole launch.json file, and a new one will be generated when u do what he says

    • @040asysyaffakhoirunnisa6
      @040asysyaffakhoirunnisa6 2 года назад +1

      I have the sae issues. Could somebody help me please? I already installed the C/C++ extension

  • @prathamdevadiga5580
    @prathamdevadiga5580 Год назад

    At step mentioned in 16:09 I'm getting cc1.exe: fatal error: C++\{filename}.c: No such file or directory complilation terminated error..... What should I do here?

  • @pietropavesi9304
    @pietropavesi9304 2 года назад

    When at the last step I run the debugger, vscode gives me this error:
    Unable to start debugging. Unexpected GDB output from command "-gdb-set auto-solib-add on". No symbol table is loaded. Use the "file" command.
    Can anyone help me to solve this prob?

  • @boopathysuntharanr1880
    @boopathysuntharanr1880 2 года назад

    hi sir, could you show Steps for adding our own functions in C Library through visual studio code

  • @sevginur
    @sevginur Год назад

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

  • @wojciechpason4222
    @wojciechpason4222 2 года назад +2

    been just under a year and this tutorial is already outdated. can someone please help me, i got this error: The token '&&' is not a valid statement separator in this version.
    i don't have a clue what to do to fix it

    • @LearningLad
      @LearningLad  2 года назад +1

      Go to
      view -> command palette
      Search for select default shell
      Choose cmd.exe

  • @abhisheksinha2167
    @abhisheksinha2167 3 года назад +1

    hey i am getting a error . i.e Unable to start debugging . the value ofmiDebuggerPath is invalid .....plz help .. m stuck

  • @zakirahimi7924
    @zakirahimi7924 Год назад +1

    great

  • @sheetaldabke6963
    @sheetaldabke6963 3 года назад

    Please help out what can I do I have follow each n every step gcc then also I have errors pls help me

  • @usmanyousef1949
    @usmanyousef1949 3 года назад

    RESOLVED - Error accessing correct directory & file
    Had the same error as others within the comments of not being able to access the Hello World terminal.
    cd stands for: Change Directory
    Used it as though I was clicking through my files. My error is that I was copying Anil and just typing Hello World.
    So, I was doing...C Programming -> Hello World
    Instead, my files were structured and should have been accessed as C Programming -> Programs -> Hello World
    My error was that I was using "cd Hello World" while my directory was still at the C Programming file. Make sure you are changing directories correctly- exactly as the directories are named.
    Hope this helped!

  • @serollakrish3833
    @serollakrish3833 2 года назад

    sir am not able see C C++: gcc..exe in configure default task , i installed g++, gcc,gdb those are showing in cmd window with vesrion.... help me

  • @naiwritmullick9918
    @naiwritmullick9918 3 года назад +2

    Is it really necessary to execute the program via the terminal? I am referring to your older videos and according to that clip we can simply run the code and get the output.

    • @LearningLad
      @LearningLad  3 года назад +3

      No, it is not necessary.
      Just wanted to show how to use the terminal to run the program ( for those who don't want to use the code runner extension).

  • @krishnav6561
    @krishnav6561 2 года назад

    I can't see the path in the default build tasks configuration. Can you help me??

  • @unknwonknight9864
    @unknwonknight9864 Год назад

    when i try to debug my code i get this error "unable to find executable for "my work space location" and also when i click to run and debug, my vs code didn't show me the configuration option "gcc.exe - Build and debug..."
    any solution?

  • @niteshtamang91
    @niteshtamang91 2 года назад

    How to reset after tweaking configure task to build and run executable files?

  • @anishprem8112
    @anishprem8112 2 года назад

    Hello
    I'm a beginner in C program
    Can anyone tell me what learning lad has done in this video
    I didn't understand anything after the simple program of age..

  • @varunchaudhary3205
    @varunchaudhary3205 Год назад +1

    on debugging it is not taking input

  • @t.e.d9875
    @t.e.d9875 Год назад

    when i go to select a build task the gcc.exe doesnt show up? this all started with me trying to fix an error or "Launch: Program does not exist. any help please??

  • @hrushikartejak3829
    @hrushikartejak3829 3 года назад +2

    After I started the debugger, it shows all those blue lines and some yellow lines, but in the terminal, it does not show "Enter your age". So, I am unable to enter any input. From this point onwards, nothing happens.
    Please help me with this problem

    • @pierfrancescoemiliani3170
      @pierfrancescoemiliani3170 3 года назад +1

      I have the same problem. After entering in the terminal "Hello World" the output is Hello World and i don't know why. If someone is able to solve it please help

  • @bhanuprakashmpc8004
    @bhanuprakashmpc8004 3 года назад

    Bro I can't do auto save it opening settings.json please help me

  • @malpaniparshusatish
    @malpaniparshusatish Год назад

    getting error of preLunchTask"c/c++:gcc.exe build active file terminated with error" while clicking on run n debug

  • @achintsingh2575
    @achintsingh2575 3 года назад

    I followed your instructions by-the-book, but there is a problem that the program keeps saying "cannot open source file "stdio.h"C/C++(1696)".

  • @RashmilDahanayake
    @RashmilDahanayake 3 года назад +4

    When defining "Run this C Program" 13:30, you can do it by adding extra "args".
    "type": "shell",
    "label": "Run This C Program 2",
    "command": "gcc",
    "args": [
    "-g",
    "${file}", //${file} gives full path of the file
    "-o",
    "${fileDirname}\\${fileBasenameNoExtension}.exe", //output file name
    "&&", //to join building and running of the file
    "${fileDirname}\\${fileBasenameNoExtension}.exe"

    • @md.arrahmandip7638
      @md.arrahmandip7638 2 года назад

      I spent 4 hrs finding the error swaping from "&&" to ";" , trying to figure out to run task but it was consistently showing the same error. Thnx to you that I could now run the task.

    • @letdoit1222
      @letdoit1222 9 месяцев назад

      @@md.arrahmandip7638 hey man need your help 😭😭

  • @diamondoinam621
    @diamondoinam621 2 года назад

    Please tell me how to fix "The terminal process terminated with error code 1".

  • @kpakfar
    @kpakfar Год назад

    How can I do the same process for multiple files C project?

  • @fatimatarar3367
    @fatimatarar3367 Год назад

    I love you

  • @sheetaldabke6963
    @sheetaldabke6963 3 года назад

    Please help me I have do it 1st step everything clear bt the problem is when we can open terminal ..then configure build task..then next step is c c++ but my computer didn't show this then what we do please help me

  • @tushardas4105
    @tushardas4105 2 года назад

    Everything is alright but I got the 2019 version will it be okay

  • @simonscheucher5984
    @simonscheucher5984 Год назад

    I have the problem that it does work finally thx first of all but when i run it it runs in the Debug Console not in the terminal

  • @dasarisrinith3037
    @dasarisrinith3037 2 года назад

    I have an issue..now when I use &&.. i am getting ..not a valid token seperator..how do I solve this?
    Please reply.

  • @ranjanamahto257
    @ranjanamahto257 Год назад

    What should I do if it's printing hello world instead of running the file

  • @saradindu0207
    @saradindu0207 2 года назад

    When debugging a c program using VS code software using terminal >make the file ,it is showing configure launch.json .how can I solve this problem??

  • @simo4win55
    @simo4win55 Год назад +1

    i have i problem, everythings work, it compile and debug, BUT there is a huge problem, i can use breakpopints, so i know he is debugging, but doesn't run the program in the terminal, so i can't put things in the scanf(), so the debug crash when he see it, because has no value in input,
    TY for everyone who will help me!

  • @rupalisharma7626
    @rupalisharma7626 3 года назад +2

    at 11:38 when i pressed enter ...instead of getting that enter the age message....i simply got = hello world.....what should i do now?

    • @LearningLad
      @LearningLad  3 года назад

      output depends on what program you are executing from the editor.
      check which program you have in the editor :)

    • @cameronfrancois1824
      @cameronfrancois1824 3 года назад +1

      I had to use ./"hello world"

  • @shwetamakwana8673
    @shwetamakwana8673 3 года назад

    Constantly showing extension host terminated unexpectedly
    ..why ? How to fix ot

  • @ananyabanu6918
    @ananyabanu6918 Год назад

    Sir after writing the name of the executive file and enter in the terminal I didn't get the line "Enter Your Age"
    What is the problem!!