include<ffstream>
include<iostream>
using namespace std;
int main()
{
char s[80];
ifstream infile(filename,ios::in);
infile.getline(s,80);//读取一行
infile.close();
}
using namespace std;
int main()
{
char s[80];
ifstream infile(filename,ios::in);
infile.getline(s,80);//读取一行
infile.close();
}
本文标题:ffstream
本文链接:https://www.haomeiwen.com/subject/sdbhjftx.html
网友评论