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 -- Pankaj Jangid ETU, NCST Tel: +91-22-756 0013/5303/5304/5305 Fax: +91-22-756 0004 Yahoo: pankaj_jangid
msg01990/pgp00000.pgp
Description: PGP signature

