07-04-2016, 03:51 PM
The only problem I see with your code is that the function may not return a value at all. Try adding a "return null;" at the end. Other than that, I think this should work.
Reference as return type.
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
Reference as return type. - by clop1000 - 07-04-2016, 03:34 PM
RE: Reference as return type. - by krzys_h - 07-04-2016, 03:51 PM
RE: Reference as return type. - by clop1000 - 07-04-2016, 04:22 PM
RE: Reference as return type. - by krzys_h - 07-04-2016, 04:40 PM
RE: Reference as return type. - by clop1000 - 07-04-2016, 05:14 PM
RE: Reference as return type. - by krzys_h - 07-04-2016, 07:12 PM
|