+ 1

How we can write a program that reads a txt file and counts the nb of sentences

In c++

12th May 2019, 10:53 AM
Manar Ksm
Manar Ksm - avatar
4 Answers
+ 4
First open the file,then make a algorith that counts number of !,? and .
12th May 2019, 10:56 AM
CodeFu
CodeFu - avatar
+ 4
Count the number of plane place,then count num-1!
12th May 2019, 11:02 AM
CodeFu
CodeFu - avatar
+ 1
And if we want to count the nb of words in each sentence?! 🙄Thankss for help 🇲🇰Maksi - Vik🇲🇰
12th May 2019, 11:00 AM
Manar Ksm
Manar Ksm - avatar
0
Okkk thankk youu :)
12th May 2019, 11:05 AM
Manar Ksm
Manar Ksm - avatar