Forum

PositionClass Help

Hi All, Its been a while since uni and i am struggling with my position class I need to be able to create a cList of my PositionClass:CObject and iterate through it etc. I get an invalid pointer when I try to access the Profit() function of a PositionClass in the list. Here is my class, what am I