0
Write a program in C++ to read in dates in form of strings âmm/dd/yyâ from input file and sort them using quicksort algorithm.
The input has to be read from a file, which contains the first 50 working days of year 2020 in form of mm/dd/yy. In the input file, first the dates for February have to be stored followed by January and March. The output file should store the sorted dates. For comparing two dates, you have to write a function compare_dates(char *date1, char *date2), which will return 0, 1 or -1 depending on if date1=date2 or date1 is smaller than date2 or reverse
4 Answers
0
Yup write it "yourself" ,also you read it wrong ,this section is for Q&A only not for assignments or homework
0
Show your attempt and someone might help you!!
0
Can any one help it's not working