Á¦¸ñ : ¼Ò¸êÀÚ È£Ãâ°ú ¸Þ¸ð¸® freeµÇ´Â ½ÃÁ¡¿¡ ´ëÇÑ Áú¹®ÀÔ´Ï´Ù #include #include #include class Cm { private: int nn; double * dp; public: Cm(int n) { nn = n; dp = (double *)calloc(nn, sizeof(double)); } ~Cm() { free((double*) dp); } Cm operator+(const Cm mm)const { Cm tc(nn); for(int i=0; i