C/C++の宿題を片付けます 102代目
■ このスレッドは過去ログ倉庫に格納されています
0105デフォルトの名無しさん
2008/01/06(日) 16:41:38#include <fstream>
#include <string>
#include <iostream>
using namespace std;
int main( )
{
ifstream ifs("data.txt");
string buf;
getline(ifs, buf); /* ファイルを読み込む */
cout << "ABCDEFG"; /* 英字のみか、先頭が英字で二文字目以降が
英字または数字である文字列を出力する*/
return 0;
}
■ このスレッドは過去ログ倉庫に格納されています