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