typedef 썸네일형 리스트형 구조체 (c언어) 구조체 모습 struct 구조체 태그 이름{ 자료형1 변수명1; 자료형2 변수명2; 자료형3 변수명3; }; 구조체 변수 선언 struck book { char title[50]; char author[50]; char publish[50]; } int main(void) { struck book mybook; } 구조체 태그이름을 사용하지 않으면 구조체의 변소를 선언할 때마다 구조체의 전체 구조를 다시 기술해야 됨 struct { char title[50]; char author[50]; char publish[50]; } mybook; struct { char title[50]; char author[50]; char publish[50]; } yourbook; typedef를 이용한 구조체 정의 1.. 더보기 이전 1 다음