Hi!
Can anyone plz tell me why the following code does not work?
I get an error message saying that Class2::func2() is not a member of Class2..!!!???Code:class Class2; class Class1 { friend void Class2::func2(); private: void func1(){} }; class Class2 { public: void func2(){} };
thanx