그런데 이제 런타임오류 뜬다

자꾸 오류가 난다

class Jacket : protected cloth{

public:

Jacket()

{

                create();

}

virtual create()

{

          if(createfromnewpaper())

             done();

          else

#if defined(_DEBUG)

         outputdebugstring("이게 다 코세때문이다/n");

#else

         dump(this);

#endif

             

}

virtual bool createfromnewpaper();

virtual void done() = 0;

};

class myJacket ; public Jacket {

public:

done();

};


//   요일별로 한벌씩

Jacket* mycloth[7];



그런데 자꾸 초기화에서 죽네


for(int a=1; a<7; )

{

mycloth[a]= new myJacket();

a++;}


//  초 기화

for(int a=1; a<7; )

{

zeromemory(mycloth[a++], sizeof(myJacket));

mycloth[a]->buy();

}