Namespaces
Variants
Views
Actions

std::basic_istream::gcount

From cppreference.com
< cpp | io | basic istream
Revision as of 21:25, 2 November 2012 by P12bot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
std::streamsize gcount() const;

Returns the number of characters extracted by the last unformatted input operation.

The following member functions of basic_istream change the value of subsequent gcount() calls:

The following functions set gcount() to zero:

Contents

[edit] Parameters

(none)

[edit] Return value

number of characters extracted by the last unformatted input operation

[edit] Example

[edit] See also