User profile: informrefer

User info
User name:informrefer
History
Joined:
Number of posts:14
Latest posts:

Non-const Ostream Object Overloading <<
Why can't os be const when overloading the << operator? You don't want to change os, right? [code...

Switch statement vs if else
Generally you would use switch if there are more than two cases, and you're checking the value of on...

Ambiguous Overloaded Function
Calling swap(first, second)

Ambiguous Overloaded Function
Calling swap(first, second) gives me an error: call of overloaded 'swap(double&, double&)' is ambigu...

Temporary Variables
Once the function is executed, wouldn't the memory used for pc be freed? In that case, there would ...

This user does not accept Private Messages

User: informrefer

  • Public profile