static variables in non-static member functionsMay be I should have given a better example. Suppose in the example above I want to keep track of of...
static variables in non-static member functionsIf a non-static memeber function has a static local variable, I would have expected that there would...
Arrays of pointers to classes and type castingThanks to Peter87 and also Disch. This solves the problem. After [code]b=new Base*[len][/code], I c...
Arrays of pointers to classes and type castingBut b is meant to be an array of pointers to objects. In the actual application I will have several...
Arrays of pointers to classes and type castingHi all, I am interested in the cleanest way to declare an array of pointers to a base class and ass...
This user does not accept Private Messages