va_list를 사용한 printf 호출 void TestPrint(char* format, ...) { va_list argList; va_start(argList, format); printf(format, argList); va_end(argList); } int main() { TestPrint("Test print %s %d\n", "string", 55); return 0; } 필요한 정보: Test print string 55 사실, 쓰레기 배출물이 나오거든요이 코드에 무슨 문제가 있나요?대신 사용하세요.대신printf를 사용해 보는 것을 추천합니다.vprintf대신 다음과 같은 특정 목적을 위해 작성되었습니다. #include #include #include void errmsg( cons..