+ 3

Wanna talk about... std::set?

Recently I find lack of lessons about STL in the c++. Container std::set is an associative container and header that need to be include for it is, #include <set>; std::set is an associative container that contains a sorted set of unique objects of type Key. Basic example: https://code.sololearn.com/cott0N65Ga0c/#cpp So let's share our tries with member functions in the comments, discuss issues and suggest solutions. As for me most relevante reference is: http://www.cplusplus.com/reference/set/set/set/

30th Mar 2018, 12:45 PM
Dmytro Kovryzhenko
Dmytro  Kovryzhenko - avatar
5 Answers
+ 4
there is another library called <vector>, check it out! https://www.sololearn.com/learn/261/?ref=app Maybe you can submit a lesson regarding this, that would help a lot of us 🙂
1st Apr 2018, 1:49 AM
Hanz
Hanz - avatar
+ 2
I mean a lesson about <set> library sorry for my unclear message
1st Apr 2018, 3:16 PM
Hanz
Hanz - avatar
+ 2
Low Kai Han I send a lesson about std::set but it's still in the status pending.
1st Apr 2018, 3:18 PM
Dmytro Kovryzhenko
Dmytro  Kovryzhenko - avatar
+ 1
Low Kai Han Why? There is already a lesson about vector library.
1st Apr 2018, 1:30 PM
Dmytro Kovryzhenko
Dmytro  Kovryzhenko - avatar