Good c++ coding habitsThere are some good c++ coding standards out there. For example Google one http://google-styleguide....
Area program with wrong output1) Careful when you copy paste (see lines 46-48 all outputting a.area()) 2) What you show as expecte...
operator= errorYour edit is correct. Don't forget to free the memory pointed to with "p" before allocating new mem.
operator= errorWell, the problem is that you allocate only three elements for array b and you have five in array a....
Template function which accepts only certain template parametersYou could also use the version that doesn't modify the function signature (see foo3 example in the l...
This user does not accept Private Messages