STL初步——二元組Pair

『寫在前面的一些基礎語法』 定義 和 賦值 pair<int,char> a;                1.make_pair(233,'o');    2.a.first=233;a.second='o'; pair<int,string> b; pair<int,struct> c; pair<int,pair<int,int>> d; Pair總體給個人感受就和結構體是同樣同樣的,沒有
相關文章
相關標籤/搜索