Technote/Data Structure C++ [C++] 연습문제 3-1 Pooh0216 2009. 9. 18. 01:22 #include using std::cout; using std::endl; int acnt =0 , mcnt = 0,mlcnt=0,dcnt = 0; class Calculator{ public: int Add(int a,int b); int Div(int a,int b); int Min(int a,int b); void Init(){ a= 0; b= 0; } void ShowopCout(); private: int a,b; } ; void Calculator::ShowopCout() { cout << "덧셈: "<< acnt << mcnt<< mlcnt< 저작자표시 (새창열림)