Question
SUBMIT THE THREE FILES. IF YOU DO IT ALL IN ONE IT WILL BE OF NO HELP TO ME AT ALL. PLEASE ENTER .H FILE
SUBMIT THE THREE FILES. IF YOU DO IT ALL IN ONE IT WILL BE OF NO HELP TO ME AT ALL. PLEASE ENTER
.H FILE
.CPP FILE
AND MAIN FILE
SOO......
FUNCS.H
FUNCS.CPP
AND LAB10.CPP
IF YOU CANT DO IT IN ALL THREE DONT SUBMIT AN ANSWER AT ALL. YOU WILL GET A THUMBS DOWN
Suppose that a text le lab aumbrtxt (please downluad te l by clicking the link) contains thousands of integers. Write a program that reds the integers fru the file, and sorts the integers in ascending arder and writes the sorted numbers in a file rite a program that . prompts the user to enter the fle name leb urbers.txt, opens the hle, and checks the status of tbe input tile calls tha fallowing function to read the data from the file and storns the data a vector; calls the fllowiny fuction to sort the vector data in te ascending order The implementation of the functian refers to sort vector. opens the output ile sorted runbers.txt calls the following function to write the sortad integers of vector in the file sarted niabers,xt void vrite veter fitelafstreims out,const vectorcitsi closes the input and output files. The expected result The sarted maber are stored in sorted numers,txt Compile Hand In funes.h: the headar file containing functian protntypes funcs.cpp: conins e utun implementaions lab10.cpp: contains the int funcion. lab1Oresult: the script file which captures the result. sorted numbers.txt: the le containing the sorted data.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started