posted 11 years ago
Hello all,
I am working on some code to sort different files using different sorting methods. The code is running fine and I am getting correct results from the number of comparisons and operations, but when I call yo output the file, the text is garbled and far from correct. For example, the file "10_Random" contains 20401, 11087, 62176, 70095, 20947, 20098, 90914, 53475, 51251
and 20065. However, the output after running the file for both "sorted" and "unsorted" is "[I@5ab328" gobbleygook. What is the problem here?