Dear all,
I was given a unique,yet seemingly simple problem by my friend & it goes
this way- Create multiple files using C each of which will either read or
write data into a common data file.This data file will be accessed by these
files. Depending on the data read,each of the files should obtain an output
for the next frame.This output should then be stored back in the data file
for the next frame to be processed.
I used 'fread', 'fwrite','fopen', 'fclose' for basic input/output
operations.I created 4 such files & a data file.Each file was compiled on a
different terminal in Linux 6.1.When I executed it I was faced with a
segmentation fault.How can I overcome this?
Yours truly,
Hari
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com