home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoft Programmer's Library 1.3
/
Microsoft-Programers-Library-v1.3.iso
/
sampcode
/
alde_c
/
lattice
/
random
/
random.c
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
1983-12-14
|
296 b
|
18 lines
/*
test deck for random.asm - random number generator
*/
extern unsigned xrand;
main()
{
unsigned random();
int i,j;
/* xrand = 23965; */
for (i=1; i != 10; ++i) {
for (j=1; j != 5; ++j)
printf(" %d\t",random());
printf("\n");
}
}