C++ development can be done with XCode. You'll need to install XCode from the install disks that came with your MacBook. It gets installed at the root level of your hard drive in a folder called
Developer. Inside that look for the Applications folder - XCode is there. If you can't find the installer, go to developer.apple.com - it is a free download. Registration is required but it is simple and painless and free.
Once you install the developer tools, look around the developer web site. There are lots of good things to check out there, including tutorials.
If you want to do text only c++ programs, use the g++ compiler. You can access it through the Terminal (in /Applications/Utilities). There are a number of other programming languages available there, including Ruby, Python, Java and Perl.
Best of luck.