[algogeeks] Difference between assignment operator and copy constructor

2010-06-29 Thread Raj N
Hi, Can anyone tell me the difference between using an assignment operator and copy constructor ? sample s1; sample s2; s2=s1; sample s3(s2); -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to

Re: [algogeeks] Difference between assignment operator and copy constructor

2010-06-29 Thread Anand
http://www.codeguru.com/cpp/cpp/algorithms/general/article.php/c9585 On Tue, Jun 29, 2010 at 12:32 AM, Raj N rajn...@gmail.com wrote: Hi, Can anyone tell me the difference between using an assignment operator and copy constructor ? sample s1; sample s2; s2=s1; sample s3(s2); -- You