Seg fault in strange place
I ran my program against gdb to track down a segmentation fault. It's happening in a classes print method. When I attempt to print an ID number of an object being stored within that object, it gives me a segmentation fault...I'm just printing one of the parameters of that object, which just so happen to be an object and have it's own parameters. Does this mean my object that's a parameter was never created? I don't see why printing an objects variable is bad, unless there's nothing there...?