파일 입출력(c++)
int main()
{
ifstream gff_File("yeast.gff");
vector <GFF_Entry> GFF;
GFF_Entry* tmp = new GFF_Entry();
char inputString[1000];
string s;
getline(gff_File, s);
cout << s << endl;
/*
while ( !gff_File.eof() ){
getline(gff_File, s);
cout << s << endl;
}
*/
return 0;
}
{
ifstream gff_File("yeast.gff");
vector <GFF_Entry> GFF;
GFF_Entry* tmp = new GFF_Entry();
char inputString[1000];
string s;
getline(gff_File, s);
cout << s << endl;
/*
while ( !gff_File.eof() ){
getline(gff_File, s);
cout << s << endl;
}
*/
return 0;
}
댓글
댓글 쓰기