I am a total beginner in c++ and I need some help, with school homework.
In main I defined 2 dimensional array but it needs to be "filled" from seperate function(with user input). I know how to make this function read user input and everything, problem is I dont know how to make it write into array which is in other function.
but my definition of array has to be in main and this code to fill it has to be in some other function. How can I make this function write in main functions array ? thanks