Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- // mapa
- std::map<std::string, int> telefony;
- telefony["Michal walczuk"] = 51231231;
- telefony["Zjeb walczuk"] = 666;
- std::cout << telefony["Zjeb walczuk"];
- // set
- std::set<int> zbiorLiczb;
- for(int i = 0; i<10; i++)
- zbiorLiczb.insert(i);
- for(int i = 0; i<10; i++)
- zbiorLiczb.insert(i);
- for(auto x : zbiorLiczb)
- std::cout << x << " ";
- }
Advertisement
Add Comment
Please, Sign In to add comment