Finding 4 character words in a text file
CBSE12D-2016
Problem Statement - 04A
Write function definition for DISP3CHAR() in C++ to read the content of a text file KIDINME.TXT, and display all those words, which have three characters in it.
Example: If the content of the file KIDINME.TXT is as follows:
When I was a small child, I used to play in the garden with my grand mom. Those days were amazingly funful and I remember all the moments of that time
The function DISP3CHAR() should display the following:
was the mom and all the
Solution
CSKC| Created: 1-Jan-2019 | Updated: 25-Feb-2019|CBSE12A-2016