I have written a sorting algorithm (bubble) and I have used 10000 unique values i.e.
int BubArray[] = new int[]{#10000 unique unsorted values#};
I was wondering how I would put the integers into a file and call the file instead of the 10000 integers in the code.
Also in which format would they go (with commas, spaces?) I'm not sure.
Any help would be appreciated, thanks.