sprintf

sprintf属于标准输入输出函数之一,声明位于stdio.h文件,具体的声明格式为:

int __cdecl sprintf(char * __restrict__ _Dest,const char * __restrict__ _Format,...)
不同点在于输出的目标为指定的缓存区域而不是显示器。

posted @ 2021-09-13 13:55  小帆敲代码  阅读(355)  评论(0编辑  收藏  举报