Timeline for Returning an int array from a function
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 2, 2016 at 21:02 | vote | accept | Dat Ha | ||
| Nov 9, 2016 at 1:05 | vote | accept | Dat Ha | ||
| Dec 2, 2016 at 21:02 | |||||
| Oct 15, 2016 at 11:10 | vote | accept | Dat Ha | ||
| Nov 9, 2016 at 1:05 | |||||
| Oct 15, 2016 at 3:35 | answer | added | Nick Gammon♦ | timeline score: 7 | |
| Oct 14, 2016 at 21:01 | vote | accept | Dat Ha | ||
| Oct 15, 2016 at 11:10 | |||||
| Oct 14, 2016 at 20:36 | answer | added | Edgar Bonet | timeline score: 14 | |
| Oct 14, 2016 at 18:53 | answer | added | Harper Shelby | timeline score: 1 | |
| Oct 14, 2016 at 18:50 | comment | added | Dat Ha | That actually anwsers my question. You should have put it as an anwser, I'll acept it. | |
| Oct 14, 2016 at 18:40 | comment | added | Edgar Bonet | It won't work, or at least not reliably: you could only return a pointer to memory that is no longer allocated (bad). You can return an array embedded into a struct. Since it's only 3 ints, it should be fine. | |
| Oct 14, 2016 at 18:36 | history | asked | Dat Ha | CC BY-SA 3.0 |