Finding 4 character words in a text file CBSE12D-2016
Exam Questions-CBSE12D-2015-04A #CPP#5890
Problem Statement - 04A
Write function definition for SUCCESS () in C++ to read the content of a text file STORY.TXT count the presence of world STORY and display the number of occurrence of this word.
-The word STORY should be an independent word
-Ignore type cases (i.e. lower/upper case)
Example: If the content of the file Story.TXT is as follows:
Success shows others that we can do it. It is possible to achieve success with hard work. Lot of money does not mean SUCCESS.
The function SUCCESS () should display the following:
CSKC| Created: 5-Jan-2019 | Updated: 22-Feb-2019|CBSE12D-2015