Thursday, July 30, 2009

2 Intercommunicating program with C?

Please write 2 void main for two different program. The first program must wait until it get a signal from second program, then it must show an integer value inside a file "Data.txt"





The second program is a simple program, which when user press enter, it will write an integer value to file "Data.txt" and then signal the first program to show it.





please use C instead of C++.





Example :





Second program : %26lt;press Enter%26gt;


A Number 5423 have been written to data.txt


signal sent to First Program





First program :


Signal recieved from Second Program


Number in data.txt is 5423

2 Intercommunicating program with C?
Try to post your question to C/C++ forums.


No comments:

Post a Comment