User profile: KRAkatau

User info
User name:KRAkatau
History
Joined:
Number of posts:196
Latest posts:

Area program with wrong output
1) Careful when you copy paste (see lines 46-48 all outputting a.area()) 2) What you show as expecte...

operator= error
Your edit is correct. Don't forget to free the memory pointed to with "p" before allocating new mem.

operator= error
Well, 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 parameters
You could also use the version that doesn't modify the function signature (see foo3 example in the l...

Template function which accepts only certain template parameters
You should use the [code]std::enable_if[/code] mechanism to do that. http://en.cppreference.com/w/cp...

This user does not accept Private Messages

User: KRAkatau

  • Public profile