Purchase Solution

C++: capitalizing words beginning with letter "a" in a file

Not what you're looking for?

Ask Custom Question

Write a C++ program that reads from the external file input.txt, capitalizes all words that begin with the letter "a," and then writes them to an external file output.txt . Do not forget to copy the blanks. You may wish to use infile.get and outfile.put in your program.

Purchase this Solution

Solution Summary

The solution also gives the contents of a sample input file and corresponding output file produced by the program.

Solution Preview

Please go through the sample solution in attached 283789.cpp and adjust the delimiter list used to mark the words in switch statement.

The attached program has been tested successfully compiling and working ...

Purchase this Solution


Free BrainMass Quizzes
Basic Networking Questions

This quiz consists of some basic networking questions.

C# variables and classes

This quiz contains questions about C# classes and variables.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.