home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1995 September / PCPRO2_995.ISO / virtek / dos / libex / libex120.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-16  |  414 b   |  14 lines

  1.                                                   // Example: 120 from Library Reference
  2. #include "..\3D-Ware\dddware.h"
  3. #include  <stdio.h>
  4. short  count;
  5. short  main(void)
  6. {
  7.   for  (count=0; count<23; count++)
  8.   {
  9.     printf("The random number is %d\n",dddRnd()); // Call the pseudo random number
  10.                                                   // generator and print the result.
  11.   }
  12.   return 0;
  13. }
  14.