Question: Write a C++ program that will read a .txt file and will find the highest and lowest voltage, along with the associated time and ampere.

Write a C++ program that will read a .txt file and will find the highest and lowest voltage, along with the associated time and ampere. The text file is large 1,000,000 rows of data, so speed is a factor. Per some of my own research it may be best to use mmap

Example of some of the data in the txt file

Time Volt Ampere

0.0001 9.77667 0.147408

0.00015 9.76583 0.147525

0.0002 9.76833 0.147692

0.00025 9.75833 0.147442

0.0003 9.76833 0.147192

0.00035 9.78167 0.1473

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!