How do I interchange two arrays? I tried arr[i]=arr[j] but I get the error: "ISO-C++ forbids assignement of arrays.
Just to mention it, I'm trying to sort an array of strings in ascending order. The array is declared: char arr[20][20] because it's names that I have in it.
Just to mention it, I'm trying to sort an array of strings in ascending order. The array is declared: char arr[20][20] because it's names that I have in it.
Comment