need HELP!!!!!!!!!C++ COMPARISONS

This is a discussion on need HELP!!!!!!!!!C++ COMPARISONS within the C++ Programming forums, part of the General Programming Boards category; The following code segment (it may have some errors in it) is comparing two strings to see if they are ...

need HELP!!!!!!!!!C++ COMPARISONS

The following code segment (it may have some errors in it) is comparing two strings to see if they are identical. I want to compare to see if they are the same names, not just the same length. Is this correct. if the 1st last nme is kennedy and the second last name is Eubanks(both names are 7 chars long) then will it pick up that these names are not the same? If not how can that be done without using C?

RE:HELLLLLLLLP!!!!!!!!!

I thought you could use relational ops on strings- it would just produce a cse insensitive comparison. I nvr learned C. I was told i can convert C++ strings to C, but then what?? or can I just use force every character in the string to lowercase before i can compare?