unsigned

以后要是一事无成,还娶了个很龊的老婆,这些年的书都白读了啊!

导航

2011年10月4日 #

笔试材料收集(二)——用OPENGL搞个冒泡排序,原创-_-!

摘要: 冒泡排序,简单的不行,就不解释了。长久没搞OpenGL了,就弄个试试吧。受维基百科的启发,也搞个图形化的输出结果,直观易懂。#include #include #include float green = 0.0f;// Represent the color factors of green and blue, to distinguish different array memberconst int arrSize = 20;int arr[arrSize];int i = 0; //i and j are the loop variables, I make them globalin 阅读全文

posted @ 2011-10-04 14:02 unsigned 阅读(605) 评论(0) 推荐(0) 编辑