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

  1.                                                 // Example: 162 from Library Reference
  2. #include "..\3D-Ware\dddware.h"
  3. #include  <stdio.h>
  4. char  string1[]={"String-Copy test."};
  5. char  string2[128];
  6. void  main(void)
  7. {
  8.   printf("\nString 1 is :- %s\n",string1);
  9.   printf("String 2 is :- %s\n\n",string2);
  10.   printf("Now copying string1 to string2\n\n");
  11.   dddStrnCpy(string2,string1,10);               // Copy the string.
  12.   printf("String 1 is :- %s\n",string1);
  13.   printf("String 2 is :- %s\n\n",string2);
  14. }
  15.