On 2/1/07, MoMaFuckEup <[EMAIL PROTECTED]> wrote: > Hello, > I am just learning C++ and I want to know the header file used when > you want to genearte random numbers and the syntax of random > identifier.
The header is <cstdlib>, the relevant function is rand (), but don't forget to seed it first. Here's a link with an example: http://www.cplusplus.com/reference/clibrary/cstdlib/rand.html -- Tamas Marki
