sort函数使用的基本知识
摘要:        
STL中就自带了排序函数sortsort 对给定区间所有元素进行排序 要使用此函数只需用#include sort即可使用,语法描述为:sort(begin,end),表示一个范围,例子:#include int main(){ int a[20]={2,4,1,23,5,76,0,43,24,6...    阅读全文
        posted @ 2014-07-19 15:26 tianxia2s 阅读(355) 评论(0) 推荐(0)
 
                    
                     
                    
                 
                    
                 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号