#include <stdarg.h>
int my_printf(const char* format, ...)
{
int result;
va_list vp;
va_start(vp, format);
result = vprintf(format, vp);
va_end(vp);
return result;
}封装自己的printf
最新推荐文章于 2026-04-14 11:43:21 发布
#include <stdarg.h>
int my_printf(const char* format, ...)
{
int result;
va_list vp;
va_start(vp, format);
result = vprintf(format, vp);
va_end(vp);
return result;
}
3641
6682
1194

被折叠的 条评论
为什么被折叠?
