Are the names defined as std::strings or char[].
If it is char[] don't forget you need to use strcmp to actually compare them.
If you are using std::string you can overload the > operator.
Last edited by iamthwee; Feb 20th, 2007 at 4:52 pm.
Reputation Points: 1536
Solved Threads: 431
Posting Expert
Offline 5,865 posts
since Aug 2005