× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Tue, 30 Oct 2001, Simon Coulter wrote:

> I created two little test programs.  The first attempts to put data on stdin
> and then calls the second one.  The second one simply reads stdin and prints
> whatever it finds.  However, although they run with no errors they don't
> actually work.  This doesn't seem impossible so I must be missing something
> obvious.

Maybe each program has its own stdin, caused by activation group issues?
Are you using fprintf() and fscanf()?  I believe both programs must run at
the same time so that changes one program makes to its stdout will be
noticed by the second program on its stdin.

James Rich
james@eaerich.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.