I bought a new Macbook Pro. Like linux, it has a bash shell. However, I did not find gcc or g++ in there. Is it in there somewhere, or is there some kind of package manager that will allow me to easily add it in?
In XCode, go to the XCode menu, followed by Preferences, Downloads, and then click on the Install button.