vector<Card*> cards;

cards.push_back(new Card(typeArr[i],j)),

cards.claer();


아니면 루프돌려서 다 해제해줘야함??