to me those arrays are to be dealt with(initialized) within the functions and referred to other functions using numProds and numVends, but i havent been able to translate it into c++, yet.
i was able to pass the filename which the user at the time inputs in the main fnc and to the onloadDatabase, but only because all the array variables were only declared within the function and not as parameters of the function(i.e in the function title) as required by this assignment.
i am getting an error that the functions dont take 1 or 2 arguments, but i dont know what to do with all those other array variables.
could you please help me with this part. sorry for the long one here.
thanks in advance .
P.S: i have included the code as of 5:30 friday.
Number of downloads: 3