摘要: void bubble_sort(int arr[],int count) { //count 是数组的长度 for(int i =0;iarr[j+1]) { int temp = arr[j+1]; arr[j+1] = arr[j]; ... 阅读全文
posted @ 2017-05-19 22:58 Fallever 阅读(158) 评论(0) 推荐(0)
摘要: cocos2dx引擎对PNG格式图片警告,查了一堆,网上说是libpng加强了对png格式检测导致。 解决方法: 1、在ps中【编辑】-【颜色设置】中设置如下 2、重新打开资源文件,弹出提示时选第三个,再次保存即可 ps版本ps5 阅读全文
posted @ 2017-05-11 22:30 Fallever 阅读(13083) 评论(0) 推荐(1)
摘要: 阅读全文
posted @ 2017-05-06 17:06 Fallever 阅读(271) 评论(0) 推荐(0)
摘要: 1 #! /usr/bin/env lua 2 -- fileheader 14bytes 3 -- infoheader 40bytes 4 -- 数据用小端储存方式 5 -- local fileheader = 6 -- { 7 -- bfType = 2 byte, 8 -- bfSize = 4 byte, 9 -- bfR... 阅读全文
posted @ 2017-05-06 16:49 Fallever 阅读(5004) 评论(0) 推荐(1)