Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reference as return type.
#2
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.


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

Forum Jump:


Users browsing this thread: 3 Guest(s)