String data type is not allowed you can make use of CString instead (char arrays with null termination). Write a menu driven C++ program to perform the following four tasks in a single file, if user press option 1 the task 1 get solved and so on: 1. Display the Item_Id of the products which are not available in stock on screen. 2. Copy all the available products data in a separate file. 3. Read the original input file and update the price of each item by 10 percent increase in the original price and save the complete information in separate file. 4. Try to save the information processed in part 3 in the original file by updating it instead of using separate file.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter8: I/o Streams And Data Files
Section: Chapter Questions
Problem 5PP: (Data processing) Write a C++ program that reads the file created in Exercise 4, permits the user to...
icon
Related questions
Question
String data type is not allowed you can make use of CString instead (char arrays with null termination). Write a menu driven C++ program to perform the following four tasks in a single file, if user press option 1 the task 1 get solved and so on: 1. Display the Item_Id of the products which are not available in stock on screen. 2. Copy all the available products data in a separate file. 3. Read the original input file and update the price of each item by 10 percent increase in the original price and save the complete information in separate file. 4. Try to save the information processed in part 3 in the original file by updating it instead of using separate file.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
User Defined DataType
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
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr