Finding 4 character words in a text file
CBSE12D-2016
Problem Statement - Finding 4 character words in a text file
Write function definition for WORD4CHAR() in C++ to read the content of a text file FUN.TXT, and display all those words, which has four characters in it.
Example: If the content of the file fun.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 WORD4CHAR() should display the following:
When used play with days were that time |
Solution
CSKC| Created: 10-Jan-2019 | Updated: 1-Apr-2019|CBSE12D-2016