I'm relatively new to C++ and am learning it to understand the concepts before moving on to Objective C or others. I'm using Xcode 3.2 and using the Sam's Teach Yourself C++ in 24 hours book. Most of the programs compile and run just fine, and the message, "... ended normally" is displayed following the compiling. However, and it seems to be when using pointers and references, sometimes it displays, "... ended normally" and then displays, "GDB Running..." Some of those programs will run and some will not. Of those that run, I will sometimes get a segmentation fault, sometimes not. Does anyone know what may be going on here? Any help would be appreciated. Thank you very much.