home *** CD-ROM | disk | FTP | other *** search
- // Example: 160 from Library Reference
- #include "..\3D-Ware\dddware.h"
- #include <stdio.h>
- char string1[32];
- short count, length;
- void main(void)
- {
- for (count=0; count<26; count++)
- {
- dddStrnSet(string1, 'A'+count , count);
- length = dddStrLen(string1); // Find out the length of the string.
- printf("Length is %d\t",length);
- printf("String 1 is :- %s\n",string1);
- }
- }
-