#include "stdafx.h" ]'tJ
S]
'<W<B!HP5Z
#include <iostream> vnL?O8`c
#include <fstream> JxHv<p[
#include <sstream> ).Q[!lly
#include <iterator> '=p?
using namespace std; [T-*/}4$
?]5Ix1
int main(int argc, char* argv[]) (V!0'9c
{ J
B(<.E2
ifstream ifs("test.txt"); 5~Q Tg
if(!ifs) 1 )'Iu`k/
return false;
{U^j&E
<W2ZoqaV
ostringstream oss; xdqK.Z%
istream_iterator<char> inpos(ifs); fQO
""qh
istream_iterator<char> endpos; U:\p$ hL9
ostream_iterator<char> out(oss); BtzYA"
std::copy(inpos, endpos, out); Sj@15 W
string& szData = oss.str(); jccOsG9;_
%7 /,m
const char * cc = szData.c_str(); :WO{x g
// cout << (long)szData << endl; W/=7jM
// cout << (long)oss.str().c_str() << endl; <