Answer the question
In order to leave comments, you need to log in
Generate two random numbers and return them?
What is the best way to generate two numbers? With the help of srand(time) random gives a new number in a second, but you need it right away. Well, how to return them from the function. There was an idea to put them in an array, but as I understand it will not work.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question