- Mar 5, 2001
- 66
- 0
- 0
i need to get a random number between 0 and 3 (or 1 and 4, whatever works) in visual c++ 6.0.
what header files do i include? and what is the syntax for the function? i remember it being rand() but it doesn't seem to work with my headers that i've included.
all help would be appreciated. i'm rusty on c++ (too much Perl).
what header files do i include? and what is the syntax for the function? i remember it being rand() but it doesn't seem to work with my headers that i've included.
all help would be appreciated. i'm rusty on c++ (too much Perl).