Unnamed
public text v1 · immutable#include <iostream>
#include <fstream>
#include <string>
int main () {
std::string buf,data;
std::fstream xml;
xml.open("file.xml", std::ios::in);
getline(xml,buf);
data += buf;
getline(xml,buf);
xml.close();
return 0;
}