Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String s1("foobar");
- for (auto i = s1.begin(); i != s1.end(); i++)
- cout << *i;
- cout << endl;
- s1 = "raboof";
- auto it = s1.begin();
- assert(*it == 'f');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement