home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
pcmag
/
vol7n14.arc
/
FIG9.TXT
< prev
next >
Wrap
Text File
|
1988-06-30
|
336b
|
16 lines
#include<malloc.h>
char **ptr;
.
.
/* set pointer to allocated space for 100 chars */
if(!(ptr = (char **)malloc(100)))
return ERROR;
.
.
.
/* reallocate pointer space for 200 chars */
if(!(ptr = (char **)realloc(ptr,200)))
return ERROR;