C/C++


Programming and C/C++Administrator on 23 Oct 2008 11:05 am

VS2005 doesn’t have problem. g++ has problem:
you must add a ‘class‘ when you declaring a friend.
========================================================
……
class B_Machine {
friend class A_Machine;
……
========================================================

Programming and C/C++Administrator on 12 Apr 2006 08:33 pm
C/C++Administrator on 30 Jun 2005 03:01 pm