A
angela.xuli
I have following code:
class ABC
{
...
....
int getValueA()
}
deque<ABC *> ABCptrque;
deque<ABC*>::iterator it;
for (it=ABCptrque.end(); it !=ABCptrque.begin(); it--)
{
int m = (*it)->getValueA();
}
Program crashes at line: int m = (*it)->getValueA();
Thank you in advance.
Angela
class ABC
{
...
....
int getValueA()
}
deque<ABC *> ABCptrque;
deque<ABC*>::iterator it;
for (it=ABCptrque.end(); it !=ABCptrque.begin(); it--)
{
int m = (*it)->getValueA();
}
Program crashes at line: int m = (*it)->getValueA();
Thank you in advance.
Angela