¡@

Home 

c++ Programming Glossary: basearray

Why does this code crash at the places mentioned?

http://stackoverflow.com/questions/1043402/why-does-this-code-crash-at-the-places-mentioned

test derive n private int m_i void MyWonderfulCode Base baseArray baseArray 0 .SomeFunction Works fine baseArray 1 .SomeFunction.. n private int m_i void MyWonderfulCode Base baseArray baseArray 0 .SomeFunction Works fine baseArray 1 .SomeFunction Crashes.. Base baseArray baseArray 0 .SomeFunction Works fine baseArray 1 .SomeFunction Crashes because of invalid vfptr baseArray 2..