ARUNAVA
Followers: 0 Following: 0
Feeds
已回答
Homework: Write a function called char_counter that counts the number of a certain character in a text file.
function charnum=char_counter(fname,character) fid=fopen(fname,'rt'); if fid<0 || ~ischar(character) charnum=-1; re...
Homework: Write a function called char_counter that counts the number of a certain character in a text file.
function charnum=char_counter(fname,character) fid=fopen(fname,'rt'); if fid<0 || ~ischar(character) charnum=-1; re...
4 years 前 | 0