Feb 4, 2002 #1 CINC Programmer Oct 30, 2001 17 0 0 US When declaring a method as a friend, you do not use scope resolution in the implementation (.cpp) file! You may get it to compile on some compilers (maybe Visual Studio), but it caused an error on mine that I had never seen before!
When declaring a method as a friend, you do not use scope resolution in the implementation (.cpp) file! You may get it to compile on some compilers (maybe Visual Studio), but it caused an error on mine that I had never seen before!