Rumah > Soal Jawab > teks badan
黄舟2017-04-17 13:15:40
这样行不,不用数组用string
#include <iostream>
#include <string>
#include <fstream>
#include <sstream>
using namespace std;
int main()
{
string s;
ifstream input("your file here");
while (getline(input, s))
;
}