malloc 처럼 말이야
구조체 안에 있는 데이터 타입이 다 다른데 이걸 malloc 처럼 쓸수 있는게 있을까?
malloc은 막 형변환 해주고 그래야 하잔아
질문에 답이 있네
(mystruct*)malloc(sizeof(mystruct)*size)ㅋㅋ - dc Cpp
헐
질문에 답이 있네
(mystruct*)malloc(sizeof(mystruct)*size)ㅋㅋ - dc Cpp
헐