0
Counting letters in a .txt file (C)
https://code.sololearn.com/cw3EQdt92Cfd/#c im working on a program that counts letters, lines and words in a txt file but it counts uncorrectly the number of letters, what am i doing wrong?
1 Respuesta
0
The functions from <ctype.h> might help in deciding whether a character was alphabet, digit, spaces etc. I'm not sure about the way you check the character type, this is why I think you might need to check functions from that header file
http://www.cplusplus.com/reference/cctype/