hello..its only for educational purposes. its not a real program. so..the destructor of that class should be like the below?
~Complex(){cout<<"Destructor\n"; delete rp; delete ip;}
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: pnastis Search: Search took 0.01 seconds.
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |