Changes between Version 5 and Version 6 of code/howto/STL
- Timestamp:
- Aug 22, 2011, 1:49:15 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/howto/STL
v5 v6 75 75 if (mySet.find(value2) != mySet.end()) 76 76 { 77 s et::cout << value2 << " is in the set!" << std::endl;77 std::cout << value2 << " is in the set!" << std::endl; 78 78 } 79 79 … … 107 107 if (it != myMap.end()) 108 108 { 109 s et::cout << "An element with key 'two' is in the set!" << std::endl;109 std::cout << "An element with key 'two' is in the set!" << std::endl; 110 110 std::cout << "The element is " << it->second << std::endl; 111 111 }