Preethi Vannal
Followers: 0 Following: 0
Feeds
已回答
ASSIGNMENT: TEXT FILES Write a function called char_counter that counts the number of a certain character in a text file. The function takes two input arguments, fname, a char vector of the filename and character, the char it counts in the file.
I passed 3 assessments out of 4 for this same question. My code: function charnum = char_counter(fname,ch) if isfile(fname) ...
ASSIGNMENT: TEXT FILES Write a function called char_counter that counts the number of a certain character in a text file. The function takes two input arguments, fname, a char vector of the filename and character, the char it counts in the file.
I passed 3 assessments out of 4 for this same question. My code: function charnum = char_counter(fname,ch) if isfile(fname) ...
4 years 前 | 0