hiiii thank you all for the help, now it is working really great. but let me make things clear so if someone had the same problem can see where the error, cause the message you get from the compiler is not even close from the problem. let say you have a class: class BB { public BB(); virtual ~BB(); CArray AA; // or even a CAtringArray BB &operator=(const BB &otherBB) // without this operator you cant add a CArray or CStringArray }
Snorri wrote:
Probably the class you declare the CArray in already has one? Or at least you are using '=' somewhere in your code for an instance of that class
when i read that i new the problem, it is in my class, see no class has no operator'=' (that if you used it in the program), so if you dont define one, the compiler will, and it will do it by calling each member's '=' operator, and if the operator is not existed then it stops and gives an error, evry one knows that but the error explanation dont even mentions it, and when i searched i didnot find an answer, so one can be drifted away. thanks all again regards
Ali Usam AlCherchefchi