I'm stuck on a homework assignment i have. (i know i know, do your own work and all that) but its just one part i'm having trouble with. Hopefully, someone could just throw out a few ideas for me.
I have a an array of structs with some records in it, and i need to pass one record at a time (not my whole array of structs) into another function to do some computations. I've been struggling with this all day.
So: how can I pass one item at a time (with a loop) into a function?
Question
WildARMs
I'm stuck on a homework assignment i have. (i know i know, do your own work and all that) but its just one part i'm having trouble with. Hopefully, someone could just throw out a few ideas for me.
I have a an array of structs with some records in it, and i need to pass one record at a time (not my whole array of structs) into another function to do some computations. I've been struggling with this all day.
So: how can I pass one item at a time (with a loop) into a function?
-thanks!
Link to comment
Share on other sites
12 answers to this question
Recommended Posts