delorie.com/djgpp/doc/libc/libc_639.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <stdlib.h> long random(void); |
Returns a random number in the range 0..MAXINT.
0 .. MAXINT
ANSI/ISO C | No |
POSIX | No |
/* Produce a random integer between 0 and 199. */ int random_number = random () % 200; |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |