sscanf ("name:john age:40 tel:082-313530", "%s", name); printf("%s\n", name);. 如果我們在%s 等樣式中指定長度,像是以下這個sscanf 所採用的%8s,那麼掃描到8 個 ...
確定! 回上一頁