+ 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/
5 Antworten
+ 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 🙂
+ 2
I mean a lesson about <set> library
sorry for my unclear message
+ 2
Low Kai Han I send a lesson about std::set but it's still in the status pending.
+ 1
Low Kai Han Why? There is already a lesson about vector library.