i need my program to use greater-than (>) and less-than (<) IF/ELSE statements for char arrays or strings. but so far, it wont work, even though my professor demonstrated it with confidence. i am using the <string> header and i tried <cstring> but that only complicated things.

is it possible to compare the values of strings without converting every character to an int value? is there anything that can be done?