photo

Kapil Dhanwani


Actif depuis 2016

Followers: 0   Following: 0

Statistiques

MATLAB Answers

1 Question
0 Réponses

RANG
233 996
of 300 829

RÉPUTATION
0

CONTRIBUTIONS
1 Question
0 Réponses

ACCEPTATION DE VOS RÉPONSES
0.0%

VOTES REÇUS
0

RANG
 of 21 088

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 171 169

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

Feeds

Afficher par

Question


Write a function called digit_counter that takes the name of a text file as input and returns the number of digits (i.e., any of the characters, 0-to-9) that the file contains. If there is a problem opening the file, the function returns -1
function[c]=digit_counter(filename) fid=fopen(filename,'rt'); if fid<0 error('error opening file %s', filename); ...

plus de 9 ans il y a | 2 réponses | 0

2

réponses