String operation destrcutor problem@cire I can see your point now. i am surely misunderstanding something in this part.[quote] In ...
String operation destrcutor problemPlease correct me if i am wrong. if i make CustomString::operator+() to return by pointer or referen...
String operation destrcutor problem[b]CustomString.h[/b] [code]#pragma once #include <iostream> #include <stdlib.h> class CustomString ...
heap corruptionyou are exactly right, i have copy and concat function between this. I dont understand why it happen...
heap corruption Works char* lastStr=new char[strlen(this->data)+strlen(st2.data)+1]; delete[] lastStr; //delet...
This user does not accept Private Messages