討論串STL sort
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
很遺憾你不能丟 swap 進去 -_-". vector< pair<int, string> > v ;. v.push_back(make_pair(3, "a")) ;. v.push_back(make_pair(2, "b")) ;. v.push_back(make_pair(1, "c
(還有18個字)
內容預覽:
這個解法應該算很接近你的需求了. 例如:. char name[4][10] = {"Jessica","George","Battler","Maria"};//最近剛跑完海貓..XDint score[4] = {70,100,60,80};. bool compare(const int a,
(還有736個字)
首頁
上一頁
1
下一頁
尾頁