How to spot if a character is a lower case letter or not

Assignment Help C/C++ Programming
Reference no: EM13702314

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.

Reference no: EM13702314

Questions Cloud

How much more that person needs to spend to qualify : Program that takes the amount a person has spent and determines the discount ($15 per $175 spent).
State ammonia used instead of hot water to separate lead ion : Question- 1. Could aqueous ammonia be used instead of hot water to separate lead ion from the mixed chloride precipitate? Explain.
Describe the supply chain for milk : Describe the supply chain for milk
Prepare the logical right-shift register : You need to prepare the logical right-shift register and implement this register using toe methods.
How to spot if a character is a lower case letter or not : 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.
The changing model of self-assessment : Assess the strategy underlying the changing model of self-assessment used by Unilever HPCE over the six-year period of the case study. Evaluate its success in terms of bringing about real improvements
List three ways in which wells in the spot plate : Question- 1. List three ways in which wells in the spot plate could become contaminated, leading to inaccurate results, and discuss how to prevent each.
Prepare a vba macro for the bisection method : Prepare a VBA macro for the bisection method and also determine the real roots of the subsequent equation using the written equation: f(x)=-.6x^2+2.4x+5.5
Java program asks the user to input the number of gallons : Write a java program asks the user to input the number of gallons of gas in the tank and the price of gas per gallon

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Determine the manner in which each of the provided concepts

Provide a short code example of the use of C++ syntax within the context of an employee database and determine the manner in which each of the provided concepts relates to the concept of object-oriented programming.

  When constructors and destructors are called

Objects, constructors and destructors are called each time the objects Enter and leave scope and inherit parent class

  A constructor that constructs a rectangle2d

A constructor that constructs a Rectangle2D with specified points as coordinates.A no-argument constructor that creates the rectangle with points (0, 0), (5, 5) and (0, 5) and

  Stability in an ever-changing technology world

Where do you think C++ and coding games in C++ is headed in the next five years? How about in the next 10 years? Do you think there are any significant improvements that need to be made to the code to ensure its stability in an ever-changing t..

  Write a c++ function that removes and counts all occurrences

Write a C++ function that removes and counts all occurrences of a given string from such a bag. Your function should return this number.

  Write a c++ program that displays a table showing the price

write a C++ program that displays a table showing the price of silver and gold.

  Implementation of data member counter of type int

Write the implementation (.cpp file) of Counter class. Here is the full specification of the class: A data member counter of type int.

  Reverses all the element of an array

Write a function that reverses all the element of an array.that is,the first element is exchanged with the last element; the second element is exchange with the second to the last element,and so on

  Computer program the requirements are attached please see

the requirements are attached. please see them. the program should be done in c or c. also i need read me file to tell

  Prepare a linux shell

Prepare a linux shell (in other words, write a C/C++ program) that will recursively prompt for input from the user. The shell should prompt as

  How to modify this program

Directions are below the pasted code.

  Implement circular linked list in c program

implement circular linked list in c program in the best possible easiest way.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd