need help with triplet vectors in STL C++

Revision en1, by manvscode, 2017-05-27 07:47:09

How to define triplet vectors. I tried {pair<int,pair<int,int>>} but push_back,sort,begin, end are not working with them. Please help.

Tags stl, c++, vector, triple

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English manvscode 2017-05-27 07:47:09 178 Initial revision (published)