Brd*_*djo 4 c arrays string int
我是C的初学者.我有一个这种格式的字符数组,例如"12 23 45 9".如何在int数组{12,23,45,9}中转换它?提前致谢.
Fre*_*Foo 5
使用sscanf,或strtol循环使用.
sscanf
strtol
归档时间:
14 年,11 月 前
查看次数:
5407 次
最近记录: