C/C++ in Visual Studio Code for Beginners

C/C++ in Visual Studio Code for Beginners

Gotta Be Geek

4 года назад

104,319 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Praise-God Tobby
Praise-God Tobby - 26.11.2023 19:54

Hello am stuck with the terminal lart

Ответить
Inf4mousKidGames
Inf4mousKidGames - 16.10.2023 15:37

Welp this explained where i went wrong with the task file.
I didn't use the auto generate/configure option 😂😂😂😂

Ответить
Astrah Cat
Astrah Cat - 15.10.2023 07:28

If I just don't make the launch it works, but otherwise it says the exe couldn't be found even though the path is eactly to the built exe. 🤔🤔

Ответить
Daniel Picado
Daniel Picado - 04.10.2023 20:44

does anyone know how to do this on Mac M1 chip?

Ответить
Givon Zirkind
Givon Zirkind - 20.08.2023 17:55

Loose the music. It's not pleasant and it's distracting.

Ответить
Nathan Howells
Nathan Howells - 14.06.2023 09:15

I am very new at programming (built simple websites years ago) and for some reason started with this but seems really complicated to just start building an app. Guessing a lot of these steps will need to be taken when developing a new project (referencing the .Jason files ect) how would you even start knowing exactly the information in these .Jason files or is it something you don’t learn you just do (as in copy and paste). Sorry hope this makes sense

Ответить
Sipho Zuma
Sipho Zuma - 07.04.2023 18:35

Thank you so much, It helped me a lot

Ответить
Temer Castle
Temer Castle - 25.03.2023 10:16

bad

Ответить
dipendra singh
dipendra singh - 21.03.2023 09:59

sry but my gcc is not responding in my pc

Ответить
Kat
Kat - 09.03.2023 07:24

This definitely helped me!

Ответить
the shark
the shark - 15.02.2023 11:09

it still didn't work for me pfffff still the red message that says...ntofound.... showing up to me

Ответить
edward mac nab
edward mac nab - 12.02.2023 16:22

sourceforge is not the recommended site in the vscode doc you are citing. There are links to the recommended sites in that vscode doc and those sites have sha verification directions , an important step that seems to get neglected these days for some strange reason.

Ответить
Nick David
Nick David - 14.01.2023 22:21

goat

Ответить
Jonas Hart
Jonas Hart - 14.01.2023 18:19

When I hit Run, C++ doesnt show up as a debugger option

Ответить
Jonas Hart
Jonas Hart - 14.01.2023 18:06

Configure default build task it says "Jake task detection is turned off." What the hell is that

Ответить
Niels Paulin
Niels Paulin - 10.01.2023 20:27

YOU ARE FANTASTIC. Save me a LOT of time !

Ответить
nablablaFPV
nablablaFPV - 02.01.2023 14:46

you messed it all up with that garbage music. Its so sad

Ответить
Tom Brooks
Tom Brooks - 20.12.2022 08:26

Thanks for the help man those json files were confusing at first.

Ответить
Surya Saravanan
Surya Saravanan - 06.12.2022 07:38

This was the first video wherein I got the hang of it.

Ответить
Nikolay Kulov
Nikolay Kulov - 01.12.2022 18:37

I can't start with f5 or ctrl+f5 they are not working! Can anyone help me?

Ответить
Nigel Pallatt
Nigel Pallatt - 28.11.2022 20:28

Well, that did not work, so that's now 3 videos trying to explain installation and non of them work, obviously things have changed, so a new up-to-date video is needed.

Ответить
Jeffrey Hymas
Jeffrey Hymas - 20.11.2022 03:00

I'm late to the party here but I ran into this issue with environment variables and VScode yesterday. If you're opening workspaces or folders from the windows start screen, where it lists recent workspaces/folders, it won't load new environment variables. You have to open the folder or workspace directly from the file explorer or PowerShell. I was being lazy and it bit me in the ass. Took me longer then I care to admit to figure that out.

Also, great vid dude. Excellent tutorial.

Ответить
Funrollercoaster606
Funrollercoaster606 - 11.11.2022 00:37

Finally! A video that doesn't copy and paste stuff and scrolls faster than light.


edit: Also, im having a issue where everything is red and its always showing me the entire script has errors.

Ответить
SG One
SG One - 23.09.2022 21:27

Can't see a micro screen 😕

Ответить
Chanuthi S.
Chanuthi S. - 15.09.2022 07:39

why is it so hard to set things up holy shit

Ответить
Trevor Seestedt
Trevor Seestedt - 09.09.2022 07:22

In 2022 this still works amazing. Thank you so much it took my hours to try and find out how to install G++ and GBD!

Ответить
Marshall's Weather & Hiking
Marshall's Weather & Hiking - 31.08.2022 01:57

I'm not new at all to c+/c++ coding, but I find Visual Studio Code so aggravating. I want to edit the tasks.json file to build a multifile project the way I want but there is absolutely no documentation. I read the side it constantly says "use IntelliSense to learn more". WTF! HOW? Hovering over shit tells me next to nothing about anything. The documentation just rattles on about everything except what I want to know.

Ответить
Not Your Business
Not Your Business - 09.07.2022 18:51

This is how it works. Everything else failed: (After installing MIngw-w64 and setting path environtment).

run or search for MSYS2 MSYS:


Run this command:
pacman -Syu
Press Y when you see"Proceed with installation? [Y/n]"

Do this again:

pacman -Syu
Press Y when you see"Proceed with installation? [Y/n]"

now run this:

pacman -S --needed base-devel mingw-w64-x86_64-toolchain

Press Enter when you see "Enter a selection (default=all):"

Then run a command prompt window:

Check this:

g++ --version

and check this:
gdb --version

Ответить
Tekobo Dongmo
Tekobo Dongmo - 01.06.2022 01:50

whenever I press the c key in VS it opens a new file what do I do

Ответить
TankieAg
TankieAg - 08.05.2022 07:42

THANK YOUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU

Ответить
oniel cole
oniel cole - 02.05.2022 00:09

Great video. Does it work for C?

Ответить
K G
K G - 04.04.2022 22:05

Downloaded the Mingw-64 download from sourceforge, and there is no "bin" folder to add. Can I just add the entire folder? I'm new to coding and setting this up is beginning to be a headache.

Ответить
Nick
Nick - 21.01.2022 07:46

Play in x2 speed as this guy wants to be a tutorial channel and vlogger at the same time lol.

Ответить
WhipReviews
WhipReviews - 18.12.2021 08:43

g++ --version isn't working for me. PLZ HELP.

Ответить
Sky Walker
Sky Walker - 11.11.2021 03:22

You is a heros. Great tuto. Thank for this.

Ответить
Konstantin Rebrov
Konstantin Rebrov - 05.10.2021 02:35

Remove the music. It is impossible to listen and focus.

Ответить
Evann
Evann - 17.09.2021 16:30

ratio t finito

Ответить
Ashvanth s
Ashvanth s - 11.09.2021 16:50

i saw certain people using code runner after installing the c/c++ installion whats the difference between this and that

Ответить
Aymen Cherif
Aymen Cherif - 17.06.2021 21:33

hello, i have trouble linking .h files qith .cpp files because when running the code i get the error winmain not found, i only can include .cpp file instead of .h files .. and it works on codeblocks , but not on vs code, help please

Ответить
Hans Malm
Hans Malm - 07.05.2021 12:25

It started well, but that background music is not helpful when one is trying to concentrate om what you are saying.

Ответить
Arman
Arman - 16.03.2021 03:03

why it is so complicated to create and compile a simple cpp app ?

Ответить
master_ coder
master_ coder - 12.03.2021 19:23

It is saying build finished successfully. My. Exe file has been created successfully. But on running it is saying it is not compatible with the version of the Windows. Pls tell me how to solve this issue

Ответить
Robin Kleven
Robin Kleven - 25.02.2021 02:21

I don't understand why it's made so unintuitive. How about a button saying: "Enable C++".

Ответить
V Wij
V Wij - 07.12.2020 00:33

I am a newbie. I followed your video. Explanation was clear. But for some reason it did not work. I am wondering if there is any way that you can have a look at the stuff and give me a lead. Thanks

Ответить
Todd Vlk
Todd Vlk - 05.11.2020 09:56

I was trying to get this set up for several hours, watching other videos, before finding yours. I first watched your overview of VS Code vs VS 2019. I was about to give up and just use VS 2019 because the setup was automagic. But I really like VS Code, and decided to look in your uploads specifically for this tutorial and here it was! BTW, I tried the MS tutorial and was caught by some of the gotchas you mentioned. -- Thank you also for the quick explanations of the tutorial semantics, and how it differs from the actual syntax needed. -- Very grateful and yes I already subscribed!

Ответить
Google User
Google User - 03.11.2020 09:07

I reached step 3 but the Mingw won't install it says the download is not correct I try to re-download it couple of times but still give me the same message!!? Is there any other site to download this file from??

Ответить
Vahab Khademi
Vahab Khademi - 02.11.2020 09:16

Thanks for your clear instruction. I was able to configure VS Code using MiniGW. One thing I can't get done is to find the input terminal, for example when you use the cin >> command and ask for the user input. VS Code says the program is running and waiting for input. But I don't see any panel for input. So I force stop the program. Can you help with this? Thanks!

Ответить