I'm quite new to C++ and programming and general and I have a question about arrays. I realize this has been asked before but it has never been sufficiently explained, nor have I ever even been able to use the code given. I work with the standard C++ library and if somebody could give a sufficient explaination along with code examples I would very much appreciate it.
My problem is this: I have a function that will generate random non-repeating values and then store those values in a local array. How would it be possible to use references to, in essence, "return" that array and store it in an equally sized array in the calling function. Thank you, if I am not even asking the right question and you have an entirely different solution, please do tell =D.