It works when I put 2 lines in input but it calculates only first set, second is ignored. How to make it reading more than 1 set that user inputs? I can't find an answer since some days and it's eating me. Thanks for advance nad please use some easy strategy, some people were saying about vectors and stuff but I have no idea how to use it. Basically I want it to read each set of numbers put it into some array maybe? And then loop is doing job for each of arrays... How to make that?
This can then hold two sets of up to 50 different integers, you can then pass each set individually to a bubble sort function.
Also, it would be easier to not prompt the user for the number of integers in each list, instead let the user keep entering integers until a senital value is entered (like -1 for example).
The thing is I can get 2 or more maybe 6 or 4 sets to test, depends how an internal application wants to test my application. Also senital value isn't an option, I have to do it like it's shown. User input one set, and every new set in new line. Any other ideas?