본문 바로가기

[MFC] How Do I

[MFC] How Do I: Learn the Principles of Object-Oriented Programming

Learn the Principles of Object-Oriented Programming


이 동영상은 MFC에서 객체지향 프로그램을 개발할 때 사용되는 방법에 대한 내용이다.


MFC에서 CShape 이라는 부모 클래스를 만들고, CCircle, CSquare, CRoundSquare 자식 클래스를 생성하여 Draw 메서드만 호출하여 각각의 모양을 그릴 수 있게 하였다.