The function returns random numbers in a specific range with the exception. Exceptions can be any number.
int randint (int min, int max, int exceptions{}) { ... } How do I write function parameters so that I can call a function like this:
randint (0, 10, {4, 5, 6}); I need to transfer the array directly.
initializer_list- Harry