data sharing between process

hi !
i want to make 2 c prog such tht if i give an input in 1st prog then i can use tht input in 2nd. so over all i want to do data sharing between process using files.
plz give me suggestions how can i achieve this ?
thanks ya!

IT is called IPC - here is avery good tutorial with a lot of examples.

http://www.advancedlinuxprogramming.com/alp-folder/alp-ch05-ipc.pdf

thanks .. it ll surely be very helpful!