Set Up C++ Development With Visual Studio Code on Windows 10 (VS Code)

Set Up C++ Development With Visual Studio Code on Windows 10 (VS Code)

ProgrammingKnowledge

6 лет назад

1,126,799 Просмотров

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


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

Truth Speaks
Truth Speaks - 02.07.2023 19:35

You have no idea how many videos I have gone through to find this knowledge and all of them failed to meet my needs in worst possible ways. Thank God for this channel. Stay blessed and thank you very much.

Ответить
Abhigyan Dutta
Abhigyan Dutta - 20.04.2023 09:45

Property isDefault is not allowed. How to fix that

Ответить
Darren Lefcoe
Darren Lefcoe - 04.03.2023 22:56

[1] install visual studio (10GB file size), but works or [2] muck around with VS code configurations for the next 3 hours....

Ответить
Jeylani Osman
Jeylani Osman - 10.01.2023 19:28

Sorry I found it I was looking at wrong folder

Ответить
Jeylani Osman
Jeylani Osman - 10.01.2023 19:22

I do not have c++ folder under E:\MinGW\include

Ответить
Signatur_ Elekos
Signatur_ Elekos - 11.09.2022 12:21

why its diff with my vs code

Ответить
elbehi tesnim
elbehi tesnim - 25.08.2022 13:35

what version is this vs code ?

Ответить
Shock On Fact
Shock On Fact - 02.08.2022 11:27

Finally done with my setup . Thanks alot . Trying from 2 days . Finally done

Ответить
MARS ROVER
MARS ROVER - 23.07.2022 21:34

@Programming Can you make a latest version setup video for c++ where the version of c++ is more than 12 or 12 atleast.

Ответить
Carter Smith
Carter Smith - 04.05.2022 16:57

THANK YOU!!!!

Ответить
Andrew Eastland
Andrew Eastland - 13.03.2022 18:04

This is a joke, it's just taken me over 2 hours to work through this video repeatedly switching to vsc to make the appropriate file edits. Finally managed to get to the point where I can compile. Debug working but emits unintelligible series of error messages into the terminal window.
It would have been much easier to just provide the files needed and point out where to change the names etc. assuming default installation paths.
As a development tool chain this is just not usable in the real world, why on earth is there not just a simple create new project button that does all this setup for you?

Ответить
czolson
czolson - 05.03.2022 14:53

Thanks for help

Ответить
Yash Tarale
Yash Tarale - 03.03.2022 15:14

who wanna do it in vs code...if process is like hell to install

Ответить
Yllaño Jay Valido
Yllaño Jay Valido - 25.02.2022 12:24

Better than the other video which claims to setup c and c++ but c is only thing he is working with. This is much more intuitive and holistic.

Ответить
Emily Huang
Emily Huang - 01.01.2022 23:35

How come when I download the mingw, I get a compressed zip folder that does not contain any .exe file?

Ответить
JahnJahn
JahnJahn - 09.12.2021 18:21

Thank you so much!

Ответить
sudhansumtripathy
sudhansumtripathy - 11.11.2021 04:52

Hi < I do not want to get the .exe file , how to do it, and then why cant I see the output in the OUTPUT TAB

Ответить
Ismale L
Ismale L - 27.10.2021 15:11

whoever tasked to promote C++ should immediately ban visual studio code from having C++ be available there, the setup is just fucking insane, no fucking new programming learner is going to know what is happening (and they probably switch to learning something like Java or Python), and even a relatively clear video like this take 23min to explain the whole mess. BTW thanks for the video, am going to not use VSC for C++.

Ответить
Arnav Sharma
Arnav Sharma - 15.10.2021 07:37

I have gone insane trying to get this to work and it still doesnt

Ответить
varshith rv
varshith rv - 06.10.2021 17:21

Seems overly complicated.

Ответить
ADAM'S APPLE
ADAM'S APPLE - 01.10.2021 09:17

I have found GOD

Ответить
F4Ge
F4Ge - 28.09.2021 00:36

THANK YOU!

Ответить
Sanjay Thakur
Sanjay Thakur - 12.09.2021 19:30

If anyone getting trouble in path then change "\\" to "/"

Ответить
Waka
Waka - 03.09.2021 02:50

dios y redentor que viva los programadores indios

Ответить
sheepsushis
sheepsushis - 27.08.2021 02:22

or you can just yay -S gcc

Ответить
Yamini
Yamini - 22.08.2021 16:15

Mingw shows virus

Ответить
Laxmi Kalel
Laxmi Kalel - 21.08.2021 18:41

After clicking on debug launch:program "does not exist. is showing

Ответить
Rohan Shrivastava
Rohan Shrivastava - 09.08.2021 03:35

LOVE YOU! by debugger is finally working now!!!!!!!!!!!!

Ответить
Jithin T C
Jithin T C - 04.08.2021 22:12

hello , I'm getting the below error while trying to build a c++ thread program.
"error: 'thread' was not declared in this scope"
I'm able to build simple c++ programs that doesn't need thread support.
How to resolve this issue?

Ответить
BARATHKUMAR R
BARATHKUMAR R - 02.08.2021 17:27

Can someone please tell how to open the c_cpp_properties.json the bulb icon not showing in my editor 🙏

Ответить
Sneirox
Sneirox - 22.07.2021 07:54

how to set icon exe ???

Ответить
Jacob J
Jacob J - 03.07.2021 04:57

Thanks for the help, this is absolutely insane.

Ответить
Ugur
Ugur - 26.06.2021 12:45

I have this error when I try Control+Shift+B for the tasks :
g++.exe: error: main.cpp: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command g++ -g main.cpp" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Anyone else with this error ?

Ответить
Juice
Juice - 19.06.2021 21:21

Thanks man! It works like a charm. The trickiest part seems to be the .vscode folder with the properties file, my C++ projects display "Hello word!" even without it. I don't get why it's needed but whenever i create new projects i just copy and paste the .vscode folder directly into my new project's file.

Ответить
raj narayan
raj narayan - 01.06.2021 07:42

I have a problem during building the programme

Ответить
Arjun M
Arjun M - 25.05.2021 10:37

Shld we need to do the json process for every new C++ program 🙄 ?

Ответить
Nirbhay Kumar
Nirbhay Kumar - 21.05.2021 18:02

installer crashes as soon as I mark the files for installation

Ответить
Kami
Kami - 18.05.2021 18:59

WHAT THE HELL!!!???

Ответить
Marjo Kaci
Marjo Kaci - 14.05.2021 17:10

Hi, I cant change my enviroment variables( no admin permissin) how can i still lunch c++ without specifying the path of c++ in enviroment variable????

Ответить
Matthew Jaworski
Matthew Jaworski - 23.04.2021 21:21

Still helpful in 2021

Ответить
Erudite Coder
Erudite Coder - 17.04.2021 12:00

do I need to setup debugger everytime I need to debug my code??
or just once it is done and then forever

Ответить
Erudite Coder
Erudite Coder - 17.04.2021 11:16

it's not downloading. everytime i click on download it gives readme file only

Ответить
JOSHUA ADEWALE
JOSHUA ADEWALE - 15.04.2021 20:46

Please.....MinGW installed correctly and I tried on my CMD....it worked. But on vscode, when I try to compile some code it says "term set-location is now recognized as a cmdlet." I've tried everything but I still can't get my code to run in the terminal. Please what can I do?

Ответить
mohammadabubakaratiq
mohammadabubakaratiq - 15.04.2021 16:54

Nawaz Sharif love you too, sir!. You save my day.

Ответить
Tisha Anants
Tisha Anants - 13.04.2021 00:46

I have got literal dreams about this... There's all kinds of probs

Ответить
DEV'S CAVE
DEV'S CAVE - 08.04.2021 12:05

MinGW doesn't look safe and a bit dodgy. I've read that it has malware on it. Can anyone tell me whether or not it does

Ответить