I'm trying to figure out how to install C++ on my old MacBook Pro (2017 model, without the touchpad). I can't download Xcode, and I'm not very experienced with Macs yet. Any guidance similar to how it would be on Windows would be really helpful, plus any general tips on using a MacBook would be appreciated!
4 Answers
Since you're new to the MacBook, definitely install Homebrew. It’s a fantastic package manager that simplifies a lot of software installations. You can get it from https://brew.sh/. Once installed, use it to install gcc with this link: https://formulae.brew.sh/formula/gcc. It should take care of any compatibility issues for you!
Check out this guide on setting up Clang for C++ on a Mac: https://code.visualstudio.com/docs/cpp/config-clang-mac. It should help you get started with your development environment!
Are you able to use Visual Studio Code? It's a great editor for C++ if you feel comfortable with it!
For a good IDE, I highly recommend trying out CLion from JetBrains. It's user-friendly and great for beginners! You can find it here: https://www.jetbrains.com/clion/.

Is that really suitable for someone just starting out?