I have created an object which has a char str[]. Why cant I do any of the followingam I doing something wrong???? In order to do a comparison, must they both be objects???Code:if (obj.str =="something") if (obj.str != "something") while (obj.str != '\n')
cheers