- Sep 7, 2007
- 89
- 0
- 0
I am having a run time error that I can't relate to a mistake in the algorithm and seem to be reminiscent of a memory error.
The object has an array of function calls which are initialized during runtime. The functions are then called with the following syntax: (this->*kCalls[tj][ti])( function input ). Now some of my functions are set to null at runtime because they refer to cases not present in the current state of my program - would this cause a problem?
Thanks!
The object has an array of function calls which are initialized during runtime. The functions are then called with the following syntax: (this->*kCalls[tj][ti])( function input ). Now some of my functions are set to null at runtime because they refer to cases not present in the current state of my program - would this cause a problem?
Thanks!