Alt codes can be performed on a Macbook Pro, but they are known as accent codes or special characters on the Macbook Pro. Lists of key combinations for accent codes can be found on Apple's website.
All available alt code symbols can be found in the Mac OS X character viewer window, which is located in the upper-right corner of the desktop window. It normally looks like a flag or a small version of an application window.
On the Macbook Pro, accent codes are performed by either pressing the option button and a combination of other keys or by selecting the symbol from the character viewer window. On a PC, the alt codes are activated by pressing the alt button plus a numerical code.