Well, you can't do "delete null;", as it's not dynamic memory.
Other than that, why are you using an ifstream pointer instead of just an ifstream object?
Furthermore, C++ really doesn't like it when you redefine constants for it - such as NULL.
__________________
Eat antimatter, Posleen-boy!
|