foxele wrote: Maxwell, did you test the myString class with your c++ compiler? I still got the same four errors about my destructor and operator<< and constructor. If it works fine in your computer, then it is the problem of my compiler. Please let me know . Yes, with Visual C++ 6.0, I built it, and ran it. The code compiled without any error or warning. And the output was correct ("Happy"... something). Are you sure that you've downloaded the correct code? Or you just made a mistake that you copied the original code included in the text part of the reply? Or you didn't replace the code in the project with new one? Check the comments in the cpp file. I have moved some comments from the end of function bodies to the beginning of function bodies. If it is such kind, then it's a new one. For example: **// Conventional constructor** myString::myString() { // ... } To isolate the problem from your making a mistake replacing files or your compiler's got problem, this time I will send you the whole project in ZIP form. Please visit WinZip[^] to get a zip tool. Thanks.
Maxwell Chen