Original Post
In short, I have a pointer problem. I make instances of a class in function 1, and when i point to those instances in function 2 the program crashes, while executing function 2 inside function 1 doesn't result in a crash. I think this has more to do with my lack of experience regarding C++ than a typical mistake.. but anwyay, the source code is of an open source planetary engine I'm working on, which I'm now redesigning to make it more suitable for the opensource community. See planet.h where it goes wrong, I commented it out. this is the link [Edited by - Bear777 on July 5, 2008 4:28:40 PM]