home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Virtual Reality Madness
/
VRMAD96_ONE.ISO
/
virtek
/
libex
/
libex159.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-24
|
483b
|
15 lines
// Example: 159 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");
dddStrCpy(string2,string1); // Copy the string.
printf("String 1 is :- %s\n",string1);
printf("String 2 is :- %s\n\n",string2);
}