All pastes #279805 Raw Edit

Unnamed

public text v1 · immutable
·published 2006-12-15 10:02 UTC
rendered paste body
#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;
}