The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
My assignment is an attached file. I have finished it. I just want a program to compare it to
Â
COP3010 Programming I in C/C++COP3014 Copyright 2016Page 1Programming Assignment #6Description:This assignment is an exercise in reading and writing files, manipulating strings and string functions,gathering statistics, and the use of complex functions.Task:1.Read in an input file name.If it is not a valid file continue to prompt the user until a valid file isread in.2.Read in an output file name.If it exists it will be over written.3.All output should go to the output file instead of standard output.4.Write the input file to the output file and make all alphabetic characters upper case.5.Count the number of characters.6.Count the number of words ( words are groups of one or more letters separated by a space, tab,return character or punctuation).7.Keep track of the size of the largest word. The size of the word should ignore any punctuation.8.Keep track of the size of the smallest word. The size of the word should ignore any punctuation.9.Print out the number of characters, number of words, size of the smallest word, size of thelargest word.Design Considerations:1.The file will contain only words ( no numbers nor punctuation). There will be no limit to thenumber of words.2.You must open the file and read each individual word using standard input (cin) until the end-of-file is detected calling3.The files must be closed properly.General Requirements:1.No global variables, other than constants!2.Use theconstqualifier on member functions wherever it is appropriate.3.You will need to use the<fstream>library for output4.You must use functions with parameters and return values.