+ 1
File handling program to count number of characters,words and lines of a string in c++
Anyone who can write this program??
1 Answer
+ 9
https://code.sololearn.com/cqO1Qr768Sla/?ref=app
If it's word count, you can always split the line on whitespaces into multiple strings and consider the separated strings individual words.