2019年5月20日

摘要: 从文件读取数据是一件很麻烦的事,所幸有sscanf()函数。 C语言函数sscanf()的用法sscanf() - 从一个字符串中读进与指定格式相符的数据. 函数原型: int sscanf( string str, string fmt, mixed var1, mixed var2 ... ); 阅读全文

posted @ 2019-05-20 19:04 ricks 阅读(185) 评论(0) 推荐(0) 编辑