|
Author |
Topic: functiuon that returns an array? (Read 2463 times) |
|
lunetta
|
functiuon that returns an array?
« on: Apr 4th, 2005, 3:14am » |
|
Hello I might be a little dumb, or just suffering caffeine injury, but I'm not being able to construct a function that would return an array;any idea on the syntax of it? I've been trying stuff like int[] output() { return {1,2,3}; } but it doesn't seem to work..
|
|
|
|
lunetta
|
Re: functiuon that returns an array?
« Reply #2 on: Apr 4th, 2005, 7:43pm » |
|
I was almost there!
|
|
|
|
|