Re: Interesting Stripper2 problem, maybe someone can help? -
27-09-2004
There must be a big buffer declared somewhere like this
char buffer[10000];
better do something like this
char *buffer;
buffer = (char *) malloc (min_size); // initialization
buffer = (char *) malloc (buffer, new_size); // reallocate each time you need the buffer to grow
free (buffer); // free the buffer when you don't need it anymore
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
|