This is mainly to teach people who want to learn C++ and have a Mac, or if your CS teacher told you to download Visual Studio, to compile C++. Today I'm going to show you my enviorment, because it's very flexible for a ton of languages!
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
inside your terminal, and follow on screen instructions.brew install g++
g++ File.cpp && ./a.out
and you can replace that with anything. (ex. python: python file.py
)Now that you know how to run a file without a big junky IDE like Visual Studio, go out there and code wonders!