GCC 4.1.0 issued the same error msg.
Thanks for your help!
Type: Posts; User: William.Xu
GCC 4.1.0 issued the same error msg.
Thanks for your help!
Although gcc v.4.1.0 issued an error while compiling, VC 2005 and RVDS works properly with this. Would u please kindly try compiling the attached file?
I'm wondering now if it is a compiler...
After reading the section on friend functions and claases, I know that when u declare a firend class, u must cite explicitely:
class A ; // forward declaration
class B {
friend class A ;...