basic_streambuf::stossc

스트림의 현재 요소를 지나서 이동 합니다.

void stossc( );

설명

멤버 함수 호출 sbumpc.구현 하지 않습니다이 멤버 함수를 제공 해야 합니다.

예제

// basic_streambuf_stossc.cpp
// compile with: /EHsc
#include <iostream>
#include <fstream>

int main( ) 
{
   using namespace std;
   ifstream myfile( "basic_streambuf_stossc.txt", ios::in );

   myfile.rdbuf( )->stossc( );
   char i = myfile.rdbuf( )->sgetc( );
   cout << i << endl;
}

입력: basic_streambuf_stossc.txt

testing

48zxwcty.collapse_all(ko-kr,VS.110).gifOutput

e

요구 사항

헤더: <streambuf>

네임 스페이스: std

참고 항목

참조

basic_streambuf Class

iostream 프로그래밍

iostreams 규칙