#ifndef MYSTRING_H
#define MYSTRING_H
+#include <string.h>
class myString {
public:
+ myString();
myString(char *s);
+ myString(const myString &right);
~myString();
void setString(char *s);
+ void setString(const char *s = NULL);
+ void setString(const myString *right);
char *getString() { return string; };
unsigned int len() { return strlen(string); };
+ bool isNULL() { return string == NULL; };
+
+ myString &operator=(myString &);
+ myString &operator=(char *);
+ myString &operator=(const char *);
private:
char *string;