If you have an array, and it is properly NULL terminated, you can use sscanf: char a[12]; int n; char rest[128]; sscanf(charArray, ...
確定! 回上一頁