![](/img/trans.png)
[英]Is it possible to read a string with fscanf and save it as unsigned int in an unsigned int pointer?
[英]Read 2 int and \n with fscanf - thoughts?
在我当前的C语言项目中,我必须从文件2 int中读取,并确保在这些文件之后有换行符。 我正在尝试使用fscanf函数(fscanf(f,“%d%d”,&a,&b)),但是这种方式我不知道它们是否在同一行或后面是否有换行符。
有什么想法吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.