Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

istream::ipfx

Visual Studio 6.0

int ipfx( int need = 0 );

Return Value

A nonzero return value if the operation was successful; 0 if the stream’s error state is nonzero, in which case the function does nothing.

Parameter

need

Zero if called from formatted input functions; otherwise the minimum number of characters needed.

Remarks

This input prefix function is called by input functions prior to extracting data from the stream. Formatted input functions call ipfx( 0 ), while unformatted input functions usually call ipfx( 1 ).

Any ios object tied to this stream is flushed if need = 0 or if there are fewer than need characters in the input buffer. Also, ipfx extracts leading white space if ios::skipws is set.

istream OverviewInput Stream Classes

See Also   istream::isfx

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.