home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_09_08
/
9n08100a
< prev
next >
Wrap
Text File
|
1991-06-05
|
404b
|
13 lines
void main(void)
{
char *test_str = "This is a test string for the parsing function.";
char **ptrarray;
char *string;
int wordcnt,size;
size = strlen(test_str);
wordcnt=wordcount(test_str);
allocate_space(wordcnt,&ptrarray,size,&string);
strcpy(string,test_str);
str_to_ptrarray(string,ptrarray);
}