Hello all u guys out there
Ive got a problem Undrestanding in example what it means
class point
{
...
}
point &function1()
{
point sample;
return sample;
}
whats meaning of & in a function??
Tank you
|
Contributor
|
|
| 24Jun2006,16:41 | #2 |
|
Function is returning reference of point class object.
|
|
Newbie Member
|
|
| 24Jun2006,19:00 | #3 |
|
Yeah I've Got it C++ Adicted boy
![]() tanx in advance But second thing here is this program got an error because when function Finished Sample Will Die And there is nothing to refere Tanx in anyway ive got it |

