131만명의 커뮤니티!! 함께 토론해봐요.
class IErrorLog { public: virtual bool reportError(const char* errorMessage) = 0; virtual ~IErrorLog() {} }; Q1. 인터페이스 클래스에서 pure virtual function에 = 0을 하는 이유가 리턴 타입이 bool이라 기본값 false 넣은건가요?