//: C01:StringIterators.cpp // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 2000 // Copyright notice in Copyright.txt #include #include using namespace std; int main() { string source("xxx"); string s(source.begin(), source.end()); cout << s << endl; } ///:~