No video

How to Run C++ in Visual Studio Code on MacBook M1 Air/Pro 2022

  Рет қаралды 191,938

eEmmFinity

eEmmFinity

Күн бұрын

In this video i discussed about how you can run c/c++ code on vs code . As this is very lightweight so i like to code in this code editor. For mac it is now very easy to run code. Just follow this video and you will be okey.
Note: if any error occur then let me know in the comment and i will try to give you a solution.

Пікірлер: 122
@oroboros4858
@oroboros4858 Жыл бұрын
Respect bro, been tryna run c++ on vs code and your video is simple and straightforward, finally got it working
@elvisacquah1946
@elvisacquah1946 Ай бұрын
Hey can u assist me with what he wrote in the terminal
@yaman5112
@yaman5112 Жыл бұрын
Spent about 5 hours trying to figure out why I wasn't able to code. Watched a lot of videos and yours did it. Thanks a lot +1 like
@AbhishekPatil-fk3fl
@AbhishekPatil-fk3fl 2 ай бұрын
what was your problem?
@Ezrik
@Ezrik Жыл бұрын
jesus man i couldnt get my studio code to work for months so i moved to xcode for the meantime, you were the only guy on yt to help me get my vscode running i appreciate you
@ohmychuckster1352
@ohmychuckster1352 3 ай бұрын
This is awesome! Thank you so much! I've been following loads of different videos trying to get this to work for the last hour and finally your video showed me how to do it in 3 and a half minutes
@dkchaurasiya347
@dkchaurasiya347 3 ай бұрын
Thank u sir because i am currently bought a MacBook Air M1 and i am searching a video for c/c++ because i am a CSE students and programming is most important for me and finally i found your video and i am socked because your simple way and then my code is run . Thank u sir again and again ❤❤
@gasmim3677
@gasmim3677 9 ай бұрын
огромный респект тебе, мужик. Ты очень выручил. Я искал ответ на этот вопрос по всему интернету, даже в нейросетях. Ты единственный кто смог помочь. Огромное спасибо!!!
@YidingWang-us3sx
@YidingWang-us3sx 6 ай бұрын
Thank you, i added the code runner extention then it worked for me on Mac.
@umairshahzaad3642
@umairshahzaad3642 Жыл бұрын
Today that's it.Bye bye, Be happy.
@alessandrofischetti
@alessandrofischetti Жыл бұрын
Thank you, I was going crazy because I couldn't make it work!!
@aishwaryakv7144
@aishwaryakv7144 6 ай бұрын
Finally a video that solved an issue i was trying to fix for so long! thank you
@ridersky1504
@ridersky1504 11 ай бұрын
Thank you man, in 3 minutes I explained what I was looking for the answer to for a week
@Arshkhan_78
@Arshkhan_78 Жыл бұрын
Thank you so so much I was searching for this from Last 2 days and nothing worked finallyit worked, thank you so much.
@briansanchez6699
@briansanchez6699 Жыл бұрын
Extremely useful and straightforward tutorial. Thanks so much. God bless.
@ZeeshanAbbasiplanz
@ZeeshanAbbasiplanz 2 ай бұрын
spent a day, and solved here within a minute!
@user-tp8kb5sg5w
@user-tp8kb5sg5w Жыл бұрын
Thank you, I was able to run C++ on my Mac!! Watched several video and only yours helped.
@jenniferlee8507
@jenniferlee8507 Жыл бұрын
Thank you!! Your channel helped me to resolve the issue!!! Most easy and accurate channel i've found
@shoedogodo_5621
@shoedogodo_5621 Жыл бұрын
thank you! Took me almost an hour just trying to set this up before i saw your vid
@prashanthavarjah5984
@prashanthavarjah5984 Жыл бұрын
Thank You, i watched multiple videos and this is the only one that helped.
@parsaghiasian8289
@parsaghiasian8289 Жыл бұрын
Thanks a lot for you help sir I've been struggling to run my code on VS code for days now, keep up the great work!
@user-jz8fp3su7c
@user-jz8fp3su7c 9 ай бұрын
omg really clear and brilliant tutorial!!!!!!!!!!!!!!!! ty I'm always scared about using offline c++ compiler
@eemmfinity1763
@eemmfinity1763 8 ай бұрын
No worries!
@Shiny_sri
@Shiny_sri Жыл бұрын
Respect bro, extremely useful and straightforward tutorial. Thankyou so much.
@bubaimondal1
@bubaimondal1 10 ай бұрын
Thanks for the straightforward video without any bullshit.
@sanchiagarwal4909
@sanchiagarwal4909 Жыл бұрын
Thanks a lot for the video. It really helped me!
@YakupOvezov
@YakupOvezov Жыл бұрын
Finally it running, thank you very much appreciate it
@yewkianlau1601
@yewkianlau1601 10 ай бұрын
Hi I’m new here and I’d followed your instructions but I can’t run it cuz it says “ The preLaunchTask ‘C/C++: clang build active file’ terminated with exit code -1”
@yewkianlau1601
@yewkianlau1601 10 ай бұрын
Could you please help me to solve the problem?
@habibasheikh3118
@habibasheikh3118 7 ай бұрын
Bro did u figure it out ? I have the exact same issue 😭😭😭😭😭😭😭
@gustavocompagnoli8565
@gustavocompagnoli8565 Жыл бұрын
Thank you, simple and fast tutorial.🙂
@rain5379
@rain5379 10 ай бұрын
Soooooo useful, THANK YOU SO MUCH!
@pikaphyu
@pikaphyu Жыл бұрын
Please help: I got the following error. ld: can't write output file to 'helloworld' because that path is a directory clang: error: linker command failed with exit code 1 (use -v to see invocation)
@notme_99440
@notme_99440 Ай бұрын
how did you solve it please
@akasharavindan8310
@akasharavindan8310 Жыл бұрын
why is there a % symbol next to the output how can I remove it
@gamengoaituyen4432
@gamengoaituyen4432 Жыл бұрын
I have a same question, if you found out the solution, please respond and help me to remove it
@myspace6287
@myspace6287 2 жыл бұрын
Thanks for this.Helped me a lot.
@eemmfinity1763
@eemmfinity1763 2 жыл бұрын
Thanks.
@rajgopalsahu
@rajgopalsahu Жыл бұрын
thank you so much bro, appreciate your help!
@debss666
@debss666 Жыл бұрын
thanks! finally able to run some code on my vsc not online complier!
@justinmyowin8639
@justinmyowin8639 Жыл бұрын
Bro you are a genius. Thank you!!! :))))))
@daniellewahrhaftig1049
@daniellewahrhaftig1049 6 ай бұрын
Helpful, thanks!!
@RapZONE2137
@RapZONE2137 Жыл бұрын
You are THE BEST my brother WE MADE IT
@adhamhaithameid
@adhamhaithameid 9 ай бұрын
You are a savior ❤
@Failing909
@Failing909 11 ай бұрын
thank you brother , easy steps
@raghadabdulmalik8460
@raghadabdulmalik8460 Жыл бұрын
At the last step of the download, a text box appears (cant install the software) why ??
@fahadnazir8924
@fahadnazir8924 Жыл бұрын
Im not able to initialize the vector directly. It shows me the following error. error: non-aggregate type 'vector' cannot be initialized with an initializer list vector myVector = {1,2,3,4,5}; ^ ~~~~~~~~~~~ 1 error generated. What could be the possible reason? I searched on internet, it appears that the error occurs due to old version of c++, which is not in my case as I just made a fresh install of clang.
@gitithkavitha8686
@gitithkavitha8686 6 ай бұрын
Facing the same issue.
@tlofrank5689
@tlofrank5689 11 ай бұрын
when running a program that takes input using cin or getline, vscode won't recognize the inputs on the terminal window. does anyone know how to fix that?
@whosdana4889
@whosdana4889 Жыл бұрын
thanks bro u helped a lot
@user-uh6cb1do4s
@user-uh6cb1do4s Жыл бұрын
thanks bro. its work with me now❤✌
@FocusNewsUz
@FocusNewsUz 5 ай бұрын
Thanks a lot
@denden2662
@denden2662 Жыл бұрын
Hello, I need your help, I've encountered an error saying: "clang: error: linker command failed with exit code 1 (use -v to see invocation)". How should I fix this? I really do hope that you will reply to this comment. Thank you so much!
@mukesh.3478
@mukesh.3478 Ай бұрын
Love u bro
@Rudenbehr
@Rudenbehr 11 ай бұрын
Thank you!
@ProdByMurtle
@ProdByMurtle Жыл бұрын
thx mate, finally
@aryaseth7550
@aryaseth7550 6 ай бұрын
thank u brother
@ALEXEYMIKET
@ALEXEYMIKET 8 ай бұрын
thank you bro!!!
@musicalmirror9416
@musicalmirror9416 Жыл бұрын
thanks bro, thank you sooo sooo soo much😄😄😄
@djamiladama214
@djamiladama214 2 жыл бұрын
thank u os much for help me bro ❤
@shubhagnihotri4804
@shubhagnihotri4804 Жыл бұрын
Thank You Sir !!!
@fabrimoldimusic
@fabrimoldimusic 7 ай бұрын
It says “the PreLaunchtask ‘c/c++: clang’ terminated with exit file -1
@SaltyArrow
@SaltyArrow Жыл бұрын
i tried this and the terminal gave an output like this: "Unable to perform this action because the process is running." what is going wrong?
@nitheeshph2282
@nitheeshph2282 6 ай бұрын
THANK YOU.
@Computeraidedautomation
@Computeraidedautomation 2 күн бұрын
Good one!! keep it up..Thank you
@orignals1387
@orignals1387 Жыл бұрын
Thank you king 😎
@patrykrogowski5659
@patrykrogowski5659 8 ай бұрын
thank you so much
@Lapsey
@Lapsey Жыл бұрын
You’re the best!!??
@deadvision22
@deadvision22 Жыл бұрын
thank you bro :)
@juliamalec1716
@juliamalec1716 Жыл бұрын
thank you!!
@Fa1ry10
@Fa1ry10 Жыл бұрын
It says command not found when I download xcode
@nanlll7865
@nanlll7865 11 ай бұрын
same.. what did u do?
@OstreicherShares
@OstreicherShares 8 ай бұрын
why wony my code come out in the output tab?
@hafsasarwar5197
@hafsasarwar5197 6 ай бұрын
what did you write in terminal, kindly tell...??
@pluckybard
@pluckybard Жыл бұрын
Thank you king
@sakshamrawat1819
@sakshamrawat1819 14 күн бұрын
that you so much
@abdullahmarjuk5375
@abdullahmarjuk5375 9 ай бұрын
Thank you bhai
@user-it6yg4sq4b
@user-it6yg4sq4b Жыл бұрын
i love this voice so cute
@sudamlasi2007
@sudamlasi2007 10 ай бұрын
I do not get the play button to run code !! please help me :(
@deepaksinghverma8795
@deepaksinghverma8795 8 ай бұрын
Thanks...
@nameislarto
@nameislarto 9 ай бұрын
Bhai...includefile aur compilerfile Wale error ko kese thik karre?
@tarekbarake516
@tarekbarake516 6 ай бұрын
THANKS
@kamalsunar4840
@kamalsunar4840 2 жыл бұрын
Thank you very much sir
@eemmfinity1763
@eemmfinity1763 2 жыл бұрын
Welcome
@maybestoic
@maybestoic 4 ай бұрын
thankyou
@oscarmartinez-pc1nj
@oscarmartinez-pc1nj Жыл бұрын
do you know why when I go to download it say about 152 hours and 33 minutes remaining like Ik my wifi not the greatest but its not bad
@3moalsokni502
@3moalsokni502 5 ай бұрын
so fast so good
@kimia5429
@kimia5429 2 жыл бұрын
when i input "clang --version" in the terminal the output is "xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun" what its mean?
@kimia5429
@kimia5429 2 жыл бұрын
​@@emamulhaqueemon8334 thank you so muchh, it's work!
@eemmfinity1763
@eemmfinity1763 2 жыл бұрын
Welcome
@user-eq6fi6sm1f
@user-eq6fi6sm1f Жыл бұрын
Thanks broo🙏
@davidchibinda8484
@davidchibinda8484 5 ай бұрын
What did you write in terminal?? U not clear
@__Peter
@__Peter 2 жыл бұрын
I think this helped thanks
@evanquinn2191
@evanquinn2191 2 жыл бұрын
Thank you
@thecrackedgamer2045
@thecrackedgamer2045 Жыл бұрын
nice
@mruchann
@mruchann 2 жыл бұрын
why do we need those things, I didn’t understand. I am only clicking on run&debug button on top right and don’t see output. Why do I need code runner etc. isn’t it vscode’s job?
@eemmfinity1763
@eemmfinity1763 2 жыл бұрын
Technically VS code is not an IDE(Integrated Devolopment Environment). It’s more like a code editor. So to enable or make like an ide you need some extension that will do your works. Code runner is also an extension to run your c/c++ code. And if the run button don’t work try first saving your file or follow the videos interaction. And feel free to ask question.
@mruchann
@mruchann 2 жыл бұрын
@@eemmfinity1763 Understood Sir. Thank you so much for help!
@souadquzmar1052
@souadquzmar1052 2 жыл бұрын
What about visual studio 2022?
@eemmfinity1763
@eemmfinity1763 Жыл бұрын
You can set up c++ with following steps. If any error occurs please let me know.
@raghadabdulmalik8460
@raghadabdulmalik8460 Жыл бұрын
@@eemmfinity1763 At the last step of the download, a text box appears (cant install the software) why ??
@DevPatel83180
@DevPatel83180 Жыл бұрын
I am getting extra % in output
@maiarUser
@maiarUser Жыл бұрын
cout not working
@aylinbakkal3648
@aylinbakkal3648 Жыл бұрын
thank youu
@mfk8475
@mfk8475 2 жыл бұрын
thank from turkey
@eemmfinity1763
@eemmfinity1763 2 жыл бұрын
Glad to hear that .Means a lot.
@momozkichutney
@momozkichutney Жыл бұрын
is xcode already installed on your system?
@eemmfinity1763
@eemmfinity1763 Жыл бұрын
No. But I have command line tools for xcode.That's helps you to run c/c++ without installing Xcode IDE.
@02_aridandawidhiaputra63
@02_aridandawidhiaputra63 Жыл бұрын
thx
@Denis-di6hc
@Denis-di6hc 10 ай бұрын
not working if including header files, so there's no benefits
@eemmfinity1763
@eemmfinity1763 10 ай бұрын
Maybe you are doing something wrong. Follow the process once again. Or, mansion your error type. I will try to give a solution.
@Denis-di6hc
@Denis-di6hc 10 ай бұрын
@@eemmfinity1763 I switched the $fileName to $dir/*.cpp in Coder runner settings.json executorMap cpp directive and it's done. Thx.
@pihie
@pihie Жыл бұрын
what if it downloaded the version 14 but the latest version is 16 how can I download 16
@eemmfinity1763
@eemmfinity1763 Жыл бұрын
Yes
@pihie
@pihie Жыл бұрын
@@eemmfinity1763 thank you
@nurmuhammadnurmuhammad
@nurmuhammadnurmuhammad 10 ай бұрын
What did you write on terminal
@eemmfinity1763
@eemmfinity1763 10 ай бұрын
Sorry for this. Can you be more clear. Was it something unclear for you like font size is too small or the command i wrote in terminal?
@hahaksisip.5822
@hahaksisip.5822 11 ай бұрын
hello, how to do this on macbook air m2? PLEASE 😭
@hahaksisip.5822
@hahaksisip.5822 11 ай бұрын
there’s no showing code-runner when i sesrch it on my setting
@eemmfinity1763
@eemmfinity1763 11 ай бұрын
Go to extension option then search for it. You will find it in settings after installing it from extension.
@elisabethmaribel1721
@elisabethmaribel1721 Жыл бұрын
Thank you!
How to Run C++ in VS Code on MacOS
4:02
Code Wizard
Рет қаралды 57 М.
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 21 МЛН
Little brothers couldn't stay calm when they noticed a bin lorry #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 18 МЛН
Happy birthday to you by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 10 МЛН
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 29 МЛН
Compiling & Executing C++ Programs (VS Code)
13:42
Neso Academy
Рет қаралды 265 М.
Microsoft FINALLY killed it
6:45
Alex Ziskind
Рет қаралды 629 М.
How to set up C++ in Visual Studio Code
6:53
Kenny Yip Coding
Рет қаралды 631 М.
Google Pixel 9 Pro Review - The Big Comeback!?
18:08
Mrwhosetheboss
Рет қаралды 371 М.
macOS программы для программистов
9:05
Миша Ларченко
Рет қаралды 27 М.
Run C++ and C in Visual Studio Code | Mac and Windows!
10:56
Caleb Curry
Рет қаралды 89 М.
Setting up M2 MacBook Air For Programming
16:28
Andres Vidoza
Рет қаралды 1,1 МЛН
Getting started with C++ in VS Code
32:03
Visual Studio Code
Рет қаралды 98 М.
Please Help Barry Choose His Real Son
00:23
Garri Creative
Рет қаралды 21 МЛН