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

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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