Write a CPP program to do the following: Read the attached text file "DISTRICT-COSC-1437.txt". Uppercase each line and write the uppercase results to a file named "UpperCased1437.txt". This is the target file. If the target file exists when the program st

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

Write a CPP program to do the following:

Read the attached text file "DISTRICT-COSC-1437.txt". Uppercase each line and write the uppercase results to a file named "UpperCased1437.txt". This is the target file.

If the target file exists when the program starts, prompt to overwrite the file. If declined, then do not process.

Deliverable is a working CPP program.

 

Textfile

DISTRICT-COSC-1437.txt

COSC-1437 Tarrant County College Page 1 of 2 COSC-1437 Programming Fundamentals II TARRANT COUNTY COLLEGE DISTRICT MASTER SYLLABUS COURSE DESCRIPTION This course focuses on the object-oriented programming paradigm, emphasizing the definition and use of classes along with fundamentals of object-oriented design. The course includes basic analysis of algorithms, searching and sorting techniques, and an introduction to software engineering processes. Students will apply techniques for testing and debugging software. This course is included in the Field of Study Curriculum for Computer Science. Prerequisite: COSC-1436 COURSE TYPE Academic Non-Core COURSE GOALS AND LEARNING OUTCOMES Upon successful completion of this course, students will: 1. Identify and explain a programming development lifecycle, including planning, analysis, design, development, and maintenance. 2. Demonstrate a basic understanding of object-oriented programming by using structs and classes in software projects. 3. Use object-oriented programming techniques to develop executable programs that include elements such as inheritance and polymorphism. 4. Document and format code in a consistent manner. 5. Apply basic searching and sorting algorithms in software design. 6. Apply single- and multi-dimensional arrays in software. 7. Use a symbolic debugger to find and fix runtime and logical errors in software. 8. Demonstrate a basic understanding of programming methodologies, including object-oriented, structured, and procedural programming. 9. Describe the phases of program translation from source code to executable code. COSC-1437 Tarrant County College Page 2 of 2 COURSE ASSESSMENT Student success is measured by a variety of assessment techniques aligned with course goals and learning outcomes. Individual faculty members are responsible for designing evaluation instruments to measure student mastery of course goals and learning outcomes and indicating the nature of such evaluation instruments in the instructor’s class requirements. STUDENT ACCESSIBILITY RESOURCES Any student with a documented disability needing academic accommodations is required to contact the Student Accessibility Resources (SAR) Office located on each campus to schedule an appointment with the Coordinator of SAR. All discussions are confidential. Because SAR accommodations may require early planning and are not provided retroactively, students are encouraged to contact SAR as early in the semester as possible. SAR is responsible for approving and coordinating all disability-related services. TCC professors will honor requests for accommodation when they are issued by SAR. SCHOLASTIC DISHONESTY Students are responsible for adhering to the TCCD policy on scholastic dishonesty as stated in the online student handbook at www.tccd.edu. RESOURCES For additional information regarding the student handbook, academic calendar, course evaluations, attendance policy, SCANS skills, Core Competencies, etc., see www.tcc

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
File Input and Output Operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education