home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Madness / VRMAD96_ONE.ISO / virtek / libex / libex160.c < prev    next >
C/C++ Source or Header  |  1995-08-24  |  445b  |  16 lines

  1.                                  // Example: 160 from Library Reference
  2. #include "..\3D-Ware\dddware.h"
  3. #include  <stdio.h>
  4. char     string1[32];
  5. short    count, length;
  6. void  main(void)
  7. {
  8.   for  (count=0; count<26; count++)
  9.   {
  10.     dddStrnSet(string1, 'A'+count , count);
  11.     length = dddStrLen(string1); // Find out the length of the string.
  12.     printf("Length is %d\t",length);
  13.     printf("String 1 is :- %s\n",string1);
  14.   }
  15. }
  16.