You must be finding out how to convert a letter to upper


Question: When the program starts, it asks user to enter a text file name. It will then try to open the file.

If the file cannot open, show an error message and quit.

If the file can be open, the program copies the entire file to another file. The name of the destination file started with "UPPERCASE_", followed by the original file name. For example, if the original file is "myfile1.txt", the destination file name should be "UPPERCASE_myfile1.txt".

During the copy process, you need to convert all lower case letters to upper case letters. To do this, please use the "getline()" function to read the entire line to a string. You then write a loop to check each character of the string (for a string S, the first character is S[0]. The second character is S[1], ...) and convert it to upper case if needed. You then write the string to the new file.

We have already showed you how to spot if a character is a lower case letter or not in one of the lecture slides. It must be easy to find out how to convert a letter to upper case.

You must be finding out how to convert a letter to upper case. I am having difficulty with this program because I do not know where to start with.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: You must be finding out how to convert a letter to upper
Reference No:- TGS0955594

Expected delivery within 24 Hours