Avoiding class reference (pointer) crossing
Posted on 1998-06-18
This one should be simple and reminds me of the cross referencing problem notorious in the Assembler world. I'd like to find a more elegant solution to the problem, which as luck would have it I've seldom come across.
Dialog_A uses functions and variables in Dialog_B and Dialog_B uses functions in Dialog_A. If I do the following, for maximum scope, the compiler screams:
Compile one or the other cpp and the compiler will complain.
I hope you have some good suggestions on avoiding what should be a simple problem.