강의

멘토링

커뮤니티

Inflearn Community Q&A

fxclimber0695's profile image
fxclimber0695

asked

[MMORPG Game Development with C++ and Unreal Series] Part 1: Introduction to C++ Programming

TextRPG (OOP) #3

순수가상함수

Written on

·

136

0

virtual void PrintInfo()=0;

순수가상함수-파생클래스에서 반드시 구현해야하는 ..

자신은 아무 구현없이 선언만 하는...

인터페이스인가요?

c++

Answer 1

0

Rookiss님의 프로필 이미지
Rookiss
Instructor

네 C++에선 별도로 interface 문법이 없고,
순수 가상함수'만' 있는 클래스를 만들면, 인터페이스처럼 사용할 수 있습니다.

fxclimber0695's profile image
fxclimber0695

asked

Ask a question