Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void fillArray(int* array, int current, int max = 6)
- {
- array[current] = rand() % 44 + 6;
- if(current < max)
- {
- fillArray(array, (current + 1), max);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement