Function that reads arrays

How exactly would you write a function which has three parameters, an integer k and two arrays. One array is an array of integers; the other is an array of numbers with decimal places. The function reads k lines of data, each of which contains two values.
you could search on this: http://www.cplusplus.com/doc/tutorial/arrays/
look for "Arrays as parameters".
Topic archived. No new replies allowed.