User: craftindo

  • Public profile

User profile: craftindo

User info
User name:craftindo
History
Joined:
Number of posts:5
Latest posts:

Return ref to a constant object
hi Firedraco, Thanks a lot i understand now. I made a mistake by returning a reference. int & f1(co...

Return ref to a constant object
Write your question here. Using eclipse, if the object is a constant, it allows to return a constan...

why return reference doesn't alter the other variable
Thanks, Chervil, i understand.

why return reference doesn't alter the other variable
Thank you Chervil & Keskiverto. So, can i say that if it is a structure of a large size, this proce...

why return reference doesn't alter the other variable
Suppose i have a function: int & f1(int & p) { return p; } void main() { int a,b; ...

This user does not accept Private Messages