Hello again,
I tried using the [index + 1] = temp) statement, but I get some: '=' : cannot convert from 'char *' to 'char [25]' compile time error. Here is (part of the) function (trying to sort words in a file): Any suggestions why I get this error.
void sort(char word[][25], int size, int&...
Is there a way to set a variable to equal an array
(ie. temp = name[index]) and then be able to set another array equal to that variable(ie. name[index + 1] = temp).
Danka
Sklar
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.