摘要:
妈蛋的又到了找工作的季节了,不会点编程怎么行?怎奈好多年都不写程序基本是都忘干净了。。。每天写一小段吧,今天就从冒泡排序开始: 1 #include "stdafx.h" 2 #include 3 #include 4 using namespace std; 5 6 void bubsort(vector &v1){ 7 vector::iterator i,j;//迭代器指针 8 int t;//临时变量 9 for(i=v1.begin();i大排序)12 t = *i;13 *i = *j;1... 阅读全文
posted @ 2013-07-17 23:17 房坚 阅读(246) 评论(0) 推荐(0)
浙公网安备 33010602011771号