Alrite...im using MSVC++...i am also teaching myself...and am not that far along...but i really want to get this randomizing thing...and the examples given in the FAQ didnt work...with the exception of this one:
#include <stdlib.h>
int rand(void);
#include <stdlib.h> //for rand
#include <stdio.h> //for printf
int main(void)
{
randomize();
printf("A random number from 0 to 99: %d", rand() % 100);
return 0;
}
So if someone could either show me a different way...or explain to me why this one works that would be great ;P