stream



stream00.cpp 【source】
// テキストファイルの入出力
// ifstream と ofstrem

stream01.cpp 【source】
// テキストファイルの入出力
// getline( )関数を使用して1行単位の入力を体験

stream02.cpp 【source】
// バイナリファイルの入出力
// 1バイトずつ読み込んで書き込みます.

stream03.cpp 【source】
// バイナリファイルの入出力
// バッファを介して読み書きを行います

stream04.cpp 【source】
// stringstream を使ってみます
// 文字列中の whitespace を全て削除したい時は楽です


by masu
E-mail: massun.masumoto@nifty.ne.jp
URL : http://member.nifty.ne.jp/~masumoto/