i was just chekin out some faq stuff and i found a randomizer that could help me but it seams to generate an error even when i run it alone
it says that randomize() is an undeclared identifierCode:#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; }
maby im overlooking somthing small, which could very well be as i am new to c++
thanks