C++ :
THIS IS A CLASS STRING AND I JUST NEED HELP WRITING THEMEMBER FUNCTIONS FOR THE FOLLOWING :
-String(char);
-Int legnth();
-char & operator[](const int);
–friend bool operator<=(const String &, constString &);
-friend bool operator<(const String &, constString &;)
#ifndef STRING_H#define STRING_H/***********************************************************************your namedateString.hString class definition.************************************************************************/#include <iostream>using namespace std;class String { int size; char * buffer;public: String(); // default constructor String(const String &); // copy constructor String(String &&); // move constructor
OR
OR