코딩 연습 #1 클래스, 함수 오버로딩 230502
#include using namespace std; class Complex { public: Complex(float r=0.0, float i=0.0) :re(r), im(i) {} Complex operator+(const Complex &coma, const Complex &comb) { return Complex(coma.re+comb.re , coma.im+comb.im); } // Complex operator-(const Complex &coma, const Complex &comb) void Print() { cout