Overloading : 연산자들을 직접 정의 하는것(리턴 타입) operator(연산자) (연산자가 받는 인자) 조심)Complex& operator+(const Complex& c) { real += c.real; img += c.img; return *this;}>Complex a = b + c + b; (b.plus(c)).plus(b)> 1. b.plus(c) == b+c 가 b의 값으로 들어감 (reference)> 2. (b+c)+(b+c) 가 되어 다른 값이 나옴 friend 키워드// B 는 A 의 친구!friend class B;// func 은 A 의 친구!friend void func();클래스 B와 func() 함수는 class A의 모든 변수와함수 접근가능짝사랑.. 이항연..