I'm new to this but i'm doing my best. Anyway i cant get the random function to work properly. I know it is in the FAQ but it doesnt help me.
Can you tell me what is wrong with this code?
Anyone? Thanks.Code:#include <iostream.h> #include <stdlib.h> int main() { int numbers[6], loop; for (loop=0; loop<6; loop++) { numbers[loop]=rand(); } return 0; }