0
C++ switch case issue with function and array
So I’m working on a project to sort arrays (first generated “randomly”) in 5 different methods(and measure time).I go to the point where all the functions are ok. I solved the issues of measuring their time but i wanted to add the options to chose the method of sorting arrays while using switch case.First I ask for the size of the array and fill out with numbers 1-999. I made a simple main page where you can chose the method etc but the program will not run. Having issues with case and array. Is it doable?
7 Respostas
0
this my code so far - dont mind the Polish text ^^”
0
What i cant figure out is how to create a switch case for this so you can chose any of those 5 sorting methods. (maybe add randomize te array again, show the array and list the times)
0
thanks a million!!!