Team Projects/Suggested by Fanta 썸네일형 리스트형 bigint 클래스 수정 #include #include #include #include #include #include #include #pragma warning(disable:4996) class bigint { private: char sign;//+:0, -:1 unsigned *dats;//가장 뒷자리가 dats[0]에 저장 unsigned len;//dats배열 길이 public: unsigned cona2u(char*); bigint(); ~bigint(); bigint(const int); bigint(const unsigned); bigint(const char*); bigint(const bigint &); unsigned resize(unsigned);//길이조절 unsigned resize();//앞의 0.. 더보기 bigfloat 부등호 오류수정, 뺄셈 #include #define DELETE_SAFELY(p) if(p){delete []p;p=NULL;} class bigfloat { private: char *arr; char sign; int leninte, lendeci, lenwh; public: //단항연산자 void operator = (char *); void operator = (double); void operator = (bigfloat &); bigfloat(); bigfloat(char *); bigfloat(double); bigfloat(bigfloat &); ~bigfloat(); //부등호 friend int operator == (bigfloat &, bigfloat &); friend int operator != (b.. 더보기 발코딩 빅플롯 #include #define DELETE_SAFELY(p) if(p){delete []p;p=NULL;} class bigfloat { private: char *arr; char sign; int leninte, lendeci, lenwh; public: bigfloat(); bigfloat(bigfloat &); ~bigfloat(); //단항연산자 void operator = (char *); void operator = (double); void operator = (bigfloat &); //부등호 friend int operator == (bigfloat &, bigfloat &); friend int operator != (bigfloat &, bigfloat &); friend int o.. 더보기 이전 1 다음