Assignment Operator in C++

The declaration of class CMyString is found in Listing 2-9. Please add an assignment operator to it.

Listing 2-9. C++ Code for Declaration of CMyString 
 class CMyString {
    CMyString(char* pData = NULL);
    CMyString(const CMyString& str);
    char* m_pData;
}; appreciates your contribution please mail us the questions you have to so that it will be useful to our job search community

No comments:

Top Blogs