//overloaded binary operator
#include
using namespace std;
The class String
{
Public:
String () {p=NULL; }
String STR (char *);
Void the display ();
Private:
Char * p;
};
.
Part of the front is a c + + program, I want to which a great god help solve, the String () {p=NULL; P=NULL}; What do you mean? [/size]
CodePudding user response:
Initialize a pointer, to assign a null values, pCodePudding user response:
Oh, so why assignment here?