home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Madness
/
VRMAD96_ONE.ISO
/
virtek
/
libex
/
libex162.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-24
|
519b
|
15 lines
// Example: 162 from Library Reference
#include "..\3D-Ware\dddware.h"
#include <stdio.h>
char string1[]={"String-Copy test."};
char string2[128];
void main(void)
{
printf("\nString 1 is :- %s\n",string1);
printf("String 2 is :- %s\n\n",string2);
printf("Now copying string1 to string2\n\n");
dddStrnCpy(string2,string1,10); // Copy the string.
printf("String 1 is :- %s\n",string1);
printf("String 2 is :- %s\n\n",string2);
}