Lists in C++
Posted on 2000-03-26
I have a list named CListe of objects from CEnsemble, and declared as follows:
class CListe; //forward declaration
As you can see, there´s a list inside each element which compose the list.
I try to initialize the list inside each element in the CEnsemble´s contructor, as follows:
But when I try to run the program, I get an error in this initialization:
"This program has performed an illegal operation and will be shut down. If the problem persistes... Close/Debug/Details"
This error has nothing to do with the init method itself, since I get the error even for very simple methods.