| #include <string> |
| #include <map> |
| #include <vector> |
| |
| typedef std::map<int, int> intint_map; |
| typedef std::map<std::string, int> strint_map; |
| |
| typedef std::vector<int> int_vector; |
| typedef std::vector<std::string> string_vector; |
| |
| typedef intint_map::iterator iimter; |
| typedef strint_map::iterator simter; |
| |
| typedef int_vector::iterator ivter; |
| typedef string_vector::iterator svter; |
| |
| int main() |
| { |
| intint_map iim; |
| iim[0] = 12; |
| |
| strint_map sim; |
| sim["world"] = 42; |
| |
| int_vector iv; |
| iv.push_back(3); |
| |
| string_vector sv; |
| sv.push_back("hello"); |
| |
| iimter iimI = iim.begin(); |
| simter simI = sim.begin(); |
| |
| ivter ivI = iv.begin(); |
| svter svI = sv.begin(); |
| |
| return 0; // Set break point at this line. |
| } |