Hi everyone
This is my assignment.
Assume you are given a large vector of records. Each record has two main fields, 7 digit ID_NUMBER and the REST as 73 byte long rest of the record. You are to sort these records in ascending order of ID_NUMBER, using all four sorting techniques.
I am comfortable at using these 4 sorting techniques but for using them I have to create a vector of length NUMRECORDS in memory. And the ID_NUMBER will be randomly created.
I just need help for that vector template. If someone can help about that randomly created vectors, i will really appreaciate it.
This is my assignment.
Assume you are given a large vector of records. Each record has two main fields, 7 digit ID_NUMBER and the REST as 73 byte long rest of the record. You are to sort these records in ascending order of ID_NUMBER, using all four sorting techniques.
I am comfortable at using these 4 sorting techniques but for using them I have to create a vector of length NUMRECORDS in memory. And the ID_NUMBER will be randomly created.
I just need help for that vector template. If someone can help about that randomly created vectors, i will really appreaciate it.
Comment