◄streambuf► ◄Up► ◄Contents► ◄Index► ◄Back► ──The Microsoft iostream Classes──────────────────────────────────────────── int sputc( int nCh ); Parameter Description <nCh> The character to store in the streambuf object. Remarks Stores a character in the put area and advances the put pointer. This public function is available to code outside the class, including the classes derived from ios. A derived streambuf class can gain access to its buffer directly by using protected member functions. Return Value The number of characters successfully stored; EOF on error. See Also ◄streambuf::sputn► -♦-