其他分享
首页 > 其他分享> > fscanf使用心得

fscanf使用心得

作者:互联网

  好久没碰C语言了。从现在开始,要开始刷题了。

(1)int fscanf( FILE* stream, const char* format, ... );

 

https://www.programiz.com/cpp-programming/library-function/cstdio/fscanf

 

(2) strlen(). 头文件<string.h>

char c[]={'p','r','\0'}

strlen(c)为2,'\0'将不被包括。

 

标签:www,stream,fscanf,int,心得,char,使用,strlen
来源: https://www.cnblogs.com/shencangzaiyunduan/p/11517859.html