k so im working on putting the value (what is being pointed to) from a pointer and adding
it to the end of a string.
Code:
STRING& STRING::operator+=(char* c)
{
char* Temp = new char [Len+1];
for (unsigned I= 0; I <Len; I++){
Temp [I]= STR[I];
}
Len+=1;
Temp[Len]=char(c); // this is where im trying to add the pointer
delete [] STR;
STR = Temp;
return *this;
}