C에서, 당신은 다음과 같이 숨어 데이터를 얻을 수 있습니다 C에서의 데이터 숨김, 다형성?
//Library header typedef struct foo* Alias; //other stuff.... //Library source, can be changed to whatever // as long as foo is defined struct foo{ int date; }; //(Type Alias -> date;// is accessible //then main class int main(){ Alias made; made -> date;// not accessable }그래서이
struct foo
또는
Alias
여러 소스 파일 주어진 다형성 동작을 억제 할 수 있음을 의미합니까?
다형성 행동이란 무엇을 의미합니까? – StoryTeller