Mega Code Archive
Categories
/
C++
/
String
Increment the iterator
#include
#include
#include
#include
#include
using namespace std; int main() { string strA("This is a test."); string::iterator itr; itr = find(strA.begin(), strA.end(), 'a'); ++itr; return 0; }