- 博客(1)
- 收藏
- 关注
转载 C语言可变参数
C语言可变参数 C语言中的可变参数:(printf,sprintf,fprintf,snprintf等) 第一个FPRINTF(const char *format,…) #include <stdio.h> #include <stdarg.h> //可变参数需要这个头文件 int PINTF(const char *format,...) { va_list vlist; va_start(vlist,format); vprintf(format,vlist); va
2020-07-20 23:18:34 287
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人