How to Run C++ in Visual Studio Code on Mac OS 2020



Hey, guys in this video I’m going to show you how you configure visual studio code (#vscode) to run c and c++ programs on #mac os (operating system) and I’m also gonna show you how you can run one sample user input program on #vscode_c++ visual studio code c

Command 1 – /bin/bash -c “$(curl -fsSL

Command 1 for Apple M1 Chip : arch -x86_64 /bin/bash -c “$(curl -fsSL

Command 2 – brew install mingw-w64

Command 2 for Apple M1 Chip : arch -x86_64 brew install mingw-w64

Beginners C++ Programming Course – https://bit.ly/CplusplusCourse

Obtain Modern C++ Object-Oriented Programming (OOP) and STL skills needed for game, system, and application development.

Time Stamp

0:00 – Introduction
0:41 – Install Homebrew using single command
1:37 – Install Mingw C++ Compiler on Mac
2:43 – Configure Visual Studio Code to run C++ programs
3:24 – Create your first C++ Program on visual studio code
3:49 – How to run c++ program in vscode on mac
4:02 – Create input c++ program in vscode on mac
5:07 – How to fix cannot edit in read-only editor vscode
5:44 – Run c++ program that takes input from the user in visual studio code

Also Watch :
How to Run Java in Visual Studio Code on Mac : https://youtu.be/hEJp98x_MPQ
How to Run Python in Visual Studio Code on Mac : https://youtu.be/lZiK9e8b21M
How to install Command Line developers tools on Mac M1 : https://youtu.be/3Yd9J_dhSfY

My name is Yogendra Singh and on this channel ​  @Tech Decode  , I show you how you can easily download and install any programming language compiler vs interpreter and #programming hub for learning the latest programming language.

Consider subscribing for best ide and coding bootcamp.

Subscribe : https://bit.ly/2OH9Jv5

Take your career to the next level. Learn to code today from the leader in online tech education: http://bit.ly/learntwocode

If you found this video useful please give it a thumbs up and subscribe to my channel! and If you have any questions regarding this video, please ask them in the comment section. thanks for watching! 🙂

Music- Victory by BGMUSIK https://www.youtube.com/watch?v=QsFbX8hA8FA .

Share this: