when using srand function i keep geting the message that writing null inside my brakets is not allowed..but thats what it shows
srand((unsigned)time(null));
any helpful hints
?
Printable View
when using srand function i keep geting the message that writing null inside my brakets is not allowed..but thats what it shows
srand((unsigned)time(null));
any helpful hints
?
It's NULL in C++ not null.
Or, use 0 (zero) instead of NULL