#include "stdafx.h" U`es
n?m!
l`s_#3
#include <iostream> "&ElKy
7j
#include <fstream> @,RrAL}|
#include <sstream> +8 avA:o
#include <iterator> (bk~,n_
using namespace std; \?_eQKiZ3
K 5SHt'P
int main(int argc, char* argv[]) G:e9}
{ /pvR-Id|6
ifstream ifs("test.txt"); Jm|eZDp
if(!ifs) 09{B6l6P
return false; 4{d!}R
`4&
GumG
ostringstream oss; b NBpt}$
istream_iterator<char> inpos(ifs); !`yg bI.
istream_iterator<char> endpos; ?th`5K30
ostream_iterator<char> out(oss); '1[}PmhD
std::copy(inpos, endpos, out); Pd@y+|
string& szData = oss.str(); OYEL` !Q
ZlHN-!OZp
const char * cc = szData.c_str(); -o\r]24
// cout << (long)szData << endl; xe;1D'(
// cout << (long)oss.str().c_str() << endl; %Bo/vB'
cout<< cc; LO,G2]
n"'1.
return 0; gu[3L
} &