photo

Muhammad Sameer Malik


Last seen: 4 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
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) charnum=0; fid=fopen(fname,"rt");%opens file if fid<0 || ~ischar(character) %c...

4 years ago | 0