rai002 @ ウィキ
除外ファイルの初期読み込み
最終更新:
rai002
-
view
//**********************************************************************
// 除外ファイルの初期読み込み
//**********************************************************************
void get_dir::UnSearchData()
{
ifstream ifs( "unsearch.txt" );
string str;
while(1){
getline( ifs, str );
if( ifs.eof() ) break;
if( str == "[EOF]" ) break;
un_search_str.push_back( str );
}
for(int i=0; i<(int)un_search_str.size(); i++ ){
cout << un_search_str.at(i) << endl;
}
}