just dug a program out of the grave. wrote it some time ago. i remember that it would run fine on my machine (dos proggie in w98 dos box) but other people reported crashes. so i dug it out of my archives today and scanned through it, spotted this:
assuming that i is initialized correctly, would this cause a problem because i havent allocated any space for filenom?? i'm not the greatest with C or pointers but i think that's it.....Code:/* snip */ int main (void) { char *filenom; int i; /* snip */ sprintf (filenom, "samp%3i.wav", i + 1); /*snip */ } /* snip */