sign up I login
 advanced
refer a friend - earn nickels!!

Ask & Discuss Questions with Community & Experts

Moderation Team
Ask iit jee aieee pet cbse icse state board community Discussion Response Post to: File handling, count number of times 'the' is repeated
Forum Index -> Computer Science -> View Full Question like the article? email it to a friend.  
Author Message
spideyunlimited (4223)

Moderator

Olaaa!! Perrrfect answer. 705  [1054 rates]

spideyunlimited's Avatar

total posts: 3117    
offline Offline
Write a function in C++ to print the count of the word the as an independent word
in a text file STORY.TXT. 2
For example, if the content of the file STORY.TXT is
There was a monkey in the zoo. The
monkey was very naughty.
Then the output of the program should be 2.

---------------------------------------------------------------

- Gaurav Ragtah (spideyunlimited)
    
 

 Aakash Institute IIT/ AIEEE/ Medical Crash Course
Name  
E-mail  
Phone  
Mobile  
** Hurry. Exclusive goIIT Offer. Limited Seats Only!
available in: New Delhi, Amritsar, Bhatinda, Bokaro, Chandigarj, Dehradun, Guwhati, Hyderabad, Indore, Jaipur, Kanpur, Karnal, Kolkata, Kota, Lucknow, Ludhiana, Mumbai, Noida, Patiala, Patna, Pune, Ranchi, Varanasi
Top Offers for goIITians
Correspondence Courses
Brilliant Tutorials
Narayana Institute
Aakash Institute
Classroom/Crash Courses
Aakash-IITJEE : AIEEE
Aakash-IITJEE : DCE
Aakash-IITJEE : MHTCET
Aakash Institute : AIPMT
Online Test Series
Brilliant Tutorials
Narayana Institute
Aakash Institute
Mahesh Tutorials
AMITY      Sri Chaitanya