摘要:
@xcode黑科技 1开多一个模拟器:open -n /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app 开3个:open -n /Applications/Xcode.app/Contents/Develope 阅读全文
摘要:
示例代码 int arr[] = {5,8,6,4,9,3,1,7,2}; int length = sizeof(arr)/sizeof(int); for(int i = 0; i < length - 1; i++) { for(int j = 0; j < length - 1- i; j+ 阅读全文
摘要:
排序算法,比较常用的是选择排序和冒泡排序 还是直接上代码比较直接,这里对1到9这几个数字进行了排序 示例代码 int arr[] = {5,8,6,4,9,3,1,7,2}; int length = sizeof(arr)/sizeof(int); for(int i = 0; i < lengt 阅读全文