May 22, 2011 at 2:06am UTC
I'm stuck on a simple thing. I have a function that outputs an integer. I need to put that output in an array. Will this work?
sum[] = funcSum();
I want the value to go into the next available array slot whose value isn't 0. Do I need a loop to do that?
Also, when the value is placed in the array, does the next value that's entered via this function get placed in the next available array slot?
I'm staring at the pages of my book, but can't see this. A little help would get me moving again.
Thanks all.
May 22, 2011 at 3:15pm UTC
It was all over the pages of my textbook, in the examples, everywhere. It was rain, and I was only seeing the space between the drops. Arggh.
Thanks, that fixes me.