Installing C++ on M1/M2 MacBook with VSCode using Homebrew and GCC | Quick and Easy Guide

preview_player
Показать описание
In this tutorial, I'll walk you through the step-by-step process of installing C++ on your M1 or M2 MacBook using VSCode and Homebrew. Whether you're a beginner or an experienced programmer, this guide will have you up and running with C++ development in no time.
Links and steps
1. Install Homebrew: Go to terminal and execute the command
2. Install GCC using Homebrew: brew install gcc
3. Create a new folder "bits" in the path below:
/Library/Developer/CommandLineTools/usr/include/c++/v1
5. Install VSCode and setup C/C++ extensions. Go to compiler path and change your compiler.

Voila! You are done!
Рекомендации по теме