Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Reads and returns the current element, moving the stream pointer.
int_type sbumpc( );
Return Value
The current element.
Remarks
If a read position is available, the member function returns traits_type::to_int_type( *gptr) and increments the next pointer for the input buffer. Otherwise, it returns uflow.
Example
// basic_streambuf_sbumpc.cpp
// compile with: /EHsc
#include <iostream>
int main( )
{
using namespace std;
int i = 0;
i = cin.rdbuf( )->sbumpc( );
cout << i << endl;
}
3
FakePre-b01c1f0ea2cc4555be6001ab8fd3b118-0b87ce3651024a66a2bf93c3d2e2fe2c
Requirements
Header: <streambuf>
Namespace: std