Papers/programming

class 상호 참조

tomato13 2008. 2. 20. 13:53

http://cafe.naver.com/teamdaydream.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=149

 

class CB;

class CA{
public:
          CB* oCB;         // CB oCB (X, not permitted)

public:
          CA(){
           };
          ~CA(){
           };

}
 
class CB{

public:
          CB(){
           };
          ~CB(){
           };
};

'Papers > programming' 카테고리의 다른 글

[debug problem] memory allocation  (0) 2008.03.04
debugging problem  (0) 2008.02.26
static class  (0) 2008.02.13
double pointer memory allocation  (0) 2008.01.21
[C++] std::list find  (0) 2007.12.06