String comparison on CodeWarrior

String comparison operators on CodeWarrior 11

Several of you have noticed that in CodeWarrior 11, if you include the string class as usual by typing
		#include < string >

you cannot use the operators <, >, <=, or >= for string comparison. This is unfortunate because these operators are considered a standard part of a string class. For example, these operators are defined in the string class given in our textbook. To get around this problem, I have created a small header file called mystring.h and have made it available in the 22C:16 course folder on the NEBULA MACAPPS fileserver. Copy this file onto your diskette and include this by typing:

		#include "mystring.h"
Do not use #include < string > anymore.