cout的输出

#include <iostream> #include <vector> #include <algorithm> #include <string> using namespace std; using std::string; using std::vector; using std::search; int main(void) { string s ="abcdefgh"; string::iterator it; it = s.begin(); cout << "----" << (*it++) ; cout << "````" << (*it++) ; cout << "++++" << (*it++) << "****" <<endl ; getchar(); return 0; }

你可能感兴趣的:(Algorithm,String,vector,iterator,include,iostream)