Open utilForever opened 6 years ago
전 이렇게 하고 있었슴다
함수는 정의되어 있는 것보다 많은 인자를 받도록 디자인 될 수 있다.
#include <cstdarg> int add(int first, int second, ...) { ~ }
전 이렇게 하고 있었슴다
01. 정의와 초기화
DCL50-CPP. C스타일로 가변인자 함수를 정의하지 말 것
함수는 정의되어 있는 것보다 많은 인자를 받도록 디자인 될 수 있다.