C++ Setup in VS Code with g++ and gdb on Windows 10

Поделиться
HTML-код
  • Опубликовано: 25 янв 2025
  • НаукаНаука

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

  • @aniketraj2834
    @aniketraj2834 3 года назад +14

    As simple as you made it… this is one of the hardest things to find! Great video!!!

  • @zelo_s6707
    @zelo_s6707 4 года назад +19

    Deserves more subs, I have no idea how many times I've messed up a simple install, this video made it so clear!

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

    Very simple and easy to follow instructions to get your first C++ program running in VS Code. Searched so many videos, this is all I needed to begin with. Thank you.

  • @chaitragurjar4039
    @chaitragurjar4039 4 года назад +9

    I can't thank you enough! Explained perfectly, everything works... Keep going man!

  • @math1560
    @math1560 6 месяцев назад

    Thank you very much! I've spent so much time to understand how to configurate the debugger on windows. Your video helped me a lot. Quickly, easily and effectively. Put like

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

    THANK YOU SO MUCH! THIS IS ABSOLUTELY INCREDIBLE!!! I have searched far and wide for a solution to this, but your video was the only one that worked for me! THANK YOU THANK YOU THANK YOU!!!!!!!!

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

    Finally a tutorial that seems like it was made on Earth

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

    oh my god thank you so so much!! i was practically on the verge of giving up trying to set up C++ in VS code. My first language was python so i wasnt familiar with all the 'main' file formalities (idk what to call it) and 'json' files that need to be created. thanks for helping this big noob (me) through!

  • @thomasfinch3123
    @thomasfinch3123 4 года назад +4

    Best video I've seen explaining how to do this!

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

    Thanks very much. Your video is more helpful than another video which claimed to show how to do C++. I managed to do it all, eventually, which astonishes me!

  • @mohammedradoan3928
    @mohammedradoan3928 4 года назад

    That so well organized and so clearly explained!! Thanks a lot!! I cannot believe that your channel is relatively new, this video is pro.

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

    the hero we need , but don't deseve.🥺

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

    thank you so much ! this video really helped me to install vs code perfectly with no errors.

  • @rajplays5903
    @rajplays5903 4 года назад +9

    This guy deserves more subs dude.
    Also, in launch.json
    Under section "program"
    You can use "${fileDirname}\\${fileBaseNoExtension}.exe"
    To execute file with any name. People try using different names for programs other than main.cpp/main.exe. the code is for those who want to have custom named files 😅

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

    Thank you so much! These instructions actually worked as opposed to the official documentation I found.

  • @UnknownUser-bz8pp
    @UnknownUser-bz8pp 2 года назад +1

    you are amazing thank you a lot no one else showed anything like this.

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

    I was struggling a lot but now most of my doubts are cleared.
    thanks for the tutorial.

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

    This video is stop me from quitting coding!
    Life saver video!
    Thank you so much 💝

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

    Thanks a lot! almost spent 6 hours trying to linkage my project... glad i found your video🙌🙌

  • @jahirulislam4955
    @jahirulislam4955 4 года назад

    This video really helps me a lot.Keep making such useful videos on vs code for other programs as well.Thanks.

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

    You have the same tone as Macintalk but with an accent twist. Beautiful.

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

    very smooth explanation, no errors thank you so much

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

    Very valuable explanation! Simple and precise!

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

    Thank you so much! I wasn't showed a thing with a version of g++ (even know i did everythink correct due to other video), but after watching how u do that i finnaly sucseeded!

  • @newsupdates860
    @newsupdates860 5 лет назад +14

    "label": "Build",
    "type": "shell",
    "command": "g++",
    "args": [
    "-o",
    "main",
    "-g",
    "main.cpp"
    ],
    "group":{
    "kind": "build",
    "isDefault": true

  • @souadhadj-said9147
    @souadhadj-said9147 4 года назад +1

    Thank you so so much!!! Perfectly explained!! I really struggled before finding your video! Even with videos from VS!! Thanks a lot :)

  • @drismerfb5454
    @drismerfb5454 4 года назад +1

    You are the best! I recently started to learn c++, and after a couple of similar videos was about to give up on VS Code, and started to use goormIDE. You definitely made my day. Thank you!

  • @dgcu-t96
    @dgcu-t96 4 года назад +3

    Really appreciate your video as my starting point. However, I would recommend using WSL as terminal to avoid the whole burden of adding new path for each new command.

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

    Thanks, wouldn't of fixed it without this video!

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

    7:05 for anyone who got at error when running, i simply saved all configure files and restarted my pc and it worked

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

    One of the best tutorial so far

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

    #2:18 i cannot find g++ exe in the bin folder. Please help.

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

    Thank you so far the best helping Video

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

    Thank you very much for your fanatical tutorial video! It helped my homework be wonderfully completed!

  • @HamSh705
    @HamSh705 4 года назад

    your training was very helpful for me

  • @אמיריפה
    @אמיריפה 3 года назад

    This solved all my problems. Thank you!

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

    you coded main into the launch json file. do i need to change always the launch.json "program" line if i want to debug another file?

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

    What did you do after 7:00 (run it ?? ) How

  • @bzttBR
    @bzttBR 8 месяцев назад

    Thank you bro, from Brazil

  • @潘妤揚-f8d
    @潘妤揚-f8d Год назад +1

    May i ask which mingw should i install?

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

    Worked great, thanks! I can now debug my program without any issues.

  • @exalaskevas4203
    @exalaskevas4203 4 года назад +1

    thanks bro. great explanaission. helped a ton

  • @hammer9185
    @hammer9185 4 года назад

    THE BEST EXPLANATION - GREAT JOB !!! THANK YOU!!!

  • @beytulk
    @beytulk 4 года назад

    THANK YOU! I WILL PRAY FOR U! REALLY HELPED ME

  • @rsmayank
    @rsmayank 4 года назад

    Thanks for this video.
    It help me. I was too confused. Thank You

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

    You are amazing! Thank you so much for this tutorial!

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

    hi how to stop the auto generation of .exe file and clean the unwanted text in the output window. Thanks

  • @mehmetakif5842
    @mehmetakif5842 4 месяца назад

    Man finally!! Thanks a lot!

  • @syedarfaat7499
    @syedarfaat7499 4 года назад

    You deserve many many more subscribers..I subbed btw 🙌

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

    How to use newest c++ standard mine don't see spaceship operator c++20. I used -std=c++20 flag but it does nothing

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

    what if we want both g++ and gcc to be included ???

  • @اسامهمحمد-ع7م5ت
    @اسامهمحمد-ع7م5ت 3 года назад

    a pure genius. Thanks alot.

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

    Hello! Can you please help me ?
    i'm getting this error
    launch:program '${fileDirName}\HelloWorld.exe' does not exist
    how should i solve it ?

  • @seppneimusser5723
    @seppneimusser5723 4 года назад

    Cannot read property 'includes' of undefined - what does it mean?

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

    Hey, so could make a tutorial on cmake with vs code??

  • @pratikwadekar4981
    @pratikwadekar4981 4 года назад

    Would we require to do this for every new project directory we make?

  • @pradyumnapatil5190
    @pradyumnapatil5190 4 года назад

    I get problem when my program takes input from The user . I just don't know how to use vscode to that kind of programs

  • @aditik6914
    @aditik6914 4 года назад +1

    Is this the same process for C?

  • @sanubabu7776
    @sanubabu7776 4 года назад

    Worked for me thank you very much!!

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

    hihi is it possible if i can render this off a external terminal? and not on the integrated terminal tyty

  • @mehershrishtinigam5449
    @mehershrishtinigam5449 4 года назад

    it is showing egcs-2.91.57 when i do g++ --version

  • @emshomar
    @emshomar 5 лет назад

    If you have specified the directory of MinGW\bin in path you dont have to type the entire path of the tools in vsc.

  • @Osternachten
    @Osternachten 4 года назад

    Thanks for ur explanation :)

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

    Can anyone tell me why I dont see debug menu in vs code? I just installed it.

  • @4cbeat_46
    @4cbeat_46 4 года назад

    I'm your 200th like, congratulations!

  • @0_0NoOB
    @0_0NoOB 3 года назад

    awsome setup! can u make a tutorial on how to use this setup with WINAPI to make windows Application??

  • @09_rahuldhiman81
    @09_rahuldhiman81 4 года назад +1

    hey im getting g++ fatal error

  • @andrikjustme2871
    @andrikjustme2871 4 года назад

    Thank a lot! Keep going.

  • @johnernest8109
    @johnernest8109 4 года назад

    Can I do this with Cygwin without Mingw64? I have MSYS2 but gdb.exe with Mingw64 it complains about not finding libpython-3.7m.dll when I have libpython-3.8m.dll, and the pacman package manager won't downgrade it for me.

    • @καλαμ
      @καλαμ 4 года назад

      If you are on Linux you don't need MinGW. Linux can directly install g++, just do "sudo pacman -S g++".

    • @johnernest8109
      @johnernest8109 4 года назад

      Callum Windows 10 here for the main laptop. RPI 3B+ for the Linux.

  • @jhonycash6119
    @jhonycash6119 4 года назад

    thank you very much man!!

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

    lovely

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

    nice explanation. thnx

  • @souvikhalder1510
    @souvikhalder1510 4 года назад

    THANK YOU A LOT GOD BLESS YOU :)

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

    super super awesome

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

    finally, thank you!

  • @M.K-SAVE
    @M.K-SAVE 4 года назад +1

    Cant find g++.exe even when using the find

  • @greenlouis7054
    @greenlouis7054 5 лет назад +1

    Thank you

  • @alluruvarma8764
    @alluruvarma8764 4 года назад

    i tried but i failded to add can anyone help me

  • @flick3800
    @flick3800 4 года назад

    Thank you dude

  • @gabriellima-ud8bf
    @gabriellima-ud8bf Год назад

    TKS!

  • @whatwhywho
    @whatwhywho 4 года назад

    Thanks!

  • @ithec25
    @ithec25 3 месяца назад

    Oh Oh attendez 30 secondes les gens il y a trop de commentaires il faut que je Lise tout ça

  • @ithec25
    @ithec25 3 месяца назад

    Oh Oh wait 30 seconds people there are too many comments I have to read all of this

  • @psy_duck2796
    @psy_duck2796 4 года назад

    thanx

  • @spb1179
    @spb1179 4 года назад

    Lol so I run the exe file and boom, my antivirus freaks out lol

  • @jusufkg8111
    @jusufkg8111 4 года назад

    choco install mingw -y

  • @roch3586
    @roch3586 4 года назад

    Ur 101 subscriber!!

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

    Thanks a lot! This helped me doing my projects)

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

    very helpful! thanks

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

    Thank you!

  • @kevhernandezmasterspark343
    @kevhernandezmasterspark343 4 года назад

    THANKS SO MUCH!!

  • @chsphani4037
    @chsphani4037 4 года назад

    Thank you..