char s[]="hello, my friend” ; // 注意: ,逗号在不a-z之间 sscanf( s, “%[a-z]”, string ) ; // string=hello. %[^a-z] 读取不在a-z 之间的字符串, ...
確定! 回上一頁