currently reading about lists.
i have this line of code in an insertion function.
i have an array containing this for example:Code:if (lptr->list[pos]>item)
0: Deer 1:Fox 2: Dog 3:Cat
lets say list[pos] is Fox and item is Cat.
what happens?
i thought you could only compare strings with the string library functions
sorry there is no ']' after item. yes they are in the same array