strcmp 及strncmp 指令亦可用於字串異質陣列,例如: ... fid = fopen('big5.txt'); line = fgetl(fid) % 讀取一列檔案內容並印出fclose(fid); leng=length(line) ...
確定! 回上一頁