I'm doing someone else's homework. I saw someone else post this exercise and thought, "I can do that." Well, apparently... I can't
The problem is to create an array and populate it with random numbers. Then, sort the array. I'm doing something wrong trying to generate the random data
Error 1 error C2296: '%' : illegal, left operand has type 'int (__cdecl *)(void)' c:\users\killingthemonkey\...randsort.cpp 19 1 randSort
2 IntelliSense: expression must have integral or unscoped enum type c:\Users\killingthemonkey\...randSort.cpp 19 20 randSort
I've looked at the manual for random and I've looked at other people's code. I can't understand where my train is going off the rails.