Christian Aperghis-Tramoni writes: > I have the folowing program : > > print "Give me an integer number : Ân" > getstdin P0 > readline S1,P0 > > Its execution gives : > > 10 > Give me an integer number : > > How is it possible to flush stdout before reading the number. > > It means the equivalent of the $| in Perl.
No, it doesn't quite. As in C++'s iostreams, streams ought to have the ability to be "tied". That is, a call on one automatically flushes the other. stdout should be tied to stdin this way. Luke