Solution to a c++ program


Hai,
Can anyone help me to solve this program.

Write a function in C++ to count number of words starting with “amend” in the text file named as “Amendment.txt”
Eg:-
A contract to deliver something to a customer once a month can be amended if the customerwants it delivered once a week. Usually, everyone involved in the contract must agree to the
amendment before it goes into effect. Most contracts are written with rules about amendments
The Output should be
No of words starting with amend : 3

By naijaanesh asked on 2016-02-15
answer to this question

yuk.dara
By yuk.dara

You should list files in a directory then count number of words in every file.

2016-10-30 Reply





This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages:
C, C++, C#, Java, VB.NET, Python, VBA,PHP & Mysql, SQL, JSP, ASP.NET,HTML, CSS, JQuery, JavaScript and other applications such as MS Excel, MS Access, and MS Word. However, we don't guarantee all things of the web are accurate. If you find any error, please report it then we will take actions to correct it as soon as possible.