On Thu, Sep 26, 2002 at 01:20:34PM +0530, Nikhil Joshi wrote:
I've tried this simple prog to encrypt a file using XOR But it gives "Segmentation Fault " in 'interactive' mode (pls see the source code)
Read the man page of gets (it is obsolate and is dangerous). And try some other option to read the strings. Allocate the (char *) pointers before storing strings in them.
regards