Using the techniques learned in your C/C++ language classes to create a complete C++ program emulating a sorting machine. The machine is capable of the following: ⚫Sort all the integers in a given text file named file1.txt, and output the sorted result ⚫Sort all the strings in a given text file named file2.txt, and output the sorted result  ⚫Supporting two different sorting orders: increasing, decreasing  ⚫Supporting different sorting algorithms (at least, two): any that you can implement ⚫For each sorting procedure, print out the execution time (time spent on sorting) User interface can be command line based, by using keyboard only ⚫You can create test files by yourself, as input files to the program  ⚫The interface must be professional and fully intuitive to the user. The program may use a class to define and implement each of the sorting methods as member functions, you can define multiple inherited classes to implement different sorting algorithms.  you may also use all the major structures, including: ⚫ Selection statements (if, if-else, switch), the appropriate one(s) of course ⚫ Loops (while, for, do-while), the appropriate one(s) of course ⚫Functions ⚫Arrays ⚫Class encapsulation and inheritance

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

Using the techniques learned in your C/C++ language classes to create a complete C++ program emulating a sorting machine. The machine is capable of the following:

⚫Sort all the integers in a given text file named file1.txt, and output the sorted result

⚫Sort all the strings in a given text file named file2.txt, and output the sorted result

 ⚫Supporting two different sorting orders: increasing, decreasing

 ⚫Supporting different sorting algorithms (at least, two): any that you can implement

⚫For each sorting procedure, print out the execution time (time spent on sorting) User interface can be command line based, by using keyboard only

⚫You can create test files by yourself, as input files to the program

 ⚫The interface must be professional and fully intuitive to the user.

The program may use a class to define and implement each of the sorting methods as member functions, you can define multiple inherited classes to implement different sorting algorithms.

 you may also use all the major structures, including:

⚫ Selection statements (if, if-else, switch), the appropriate one(s) of course

⚫ Loops (while, for, do-while), the appropriate one(s) of course

⚫Functions

⚫Arrays

⚫Class encapsulation and inheritance

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 11 images

Blurred answer
Knowledge Booster
Array
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
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