H
homecurr
Here is my code
Class A;
Class B;
Class C : public A, public B
{
....
}
Class D {
C** GetC(){
C** ppC = ...
return ppC;
}
}
Class E{
void Compute(const B* const* ppB){
...
}
}
int main()
{
D d = new D();
C** ppC = d.GetC();
E e;
e.Compute(ppC); //***
}
With VC++ 6.0 the last line with //*** does not compile. If I change that to
e.COmpute((const B* const*)ppC);
The data is not passed correctly in the "Compute". How can I fix it?
Thanks,
John
Class A;
Class B;
Class C : public A, public B
{
....
}
Class D {
C** GetC(){
C** ppC = ...
return ppC;
}
}
Class E{
void Compute(const B* const* ppB){
...
}
}
int main()
{
D d = new D();
C** ppC = d.GetC();
E e;
e.Compute(ppC); //***
}
With VC++ 6.0 the last line with //*** does not compile. If I change that to
e.COmpute((const B* const*)ppC);
The data is not passed correctly in the "Compute". How can I fix it?
Thanks,
John