摘要: ※ 求一个数组的长度 ※ 自定义结构的动态数组 ※求一个数的符号+/- 阅读全文
posted @ 2016-10-15 19:24 ShellHan 阅读(177) 评论(0) 推荐(0) 编辑
摘要: // // main.c // poj1050 // // Created by 韩雪滢 on 10/13/16. // Copyright © 2016 韩雪滢. All rights reserved. // #include #include #define MAXLEN 10000 /* poj1050 失败的小demo *其中包括 *读取一行字符串直到换行符 *将... 阅读全文
posted @ 2016-10-13 21:01 ShellHan 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 运行正常,代码正确,就是没有数据,看看tableView的关联检查器 阅读全文
posted @ 2016-08-27 23:40 ShellHan 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 从网上随便搜一下,按步骤做到修改/etc/apache2/httpd.conf 在网上查了半天,我是漏了一句这个 这是我的,已经改好了 还有在 /private/etc/apache2/users/Your UserName.conf中要写为 阅读全文
posted @ 2016-08-11 22:43 ShellHan 阅读(3891) 评论(0) 推荐(0) 编辑
摘要: 递增: 第一排序,放到数组第一位的一定是最小的,以此类推 理由:每一次交换都是把较小的那个放到了第一位,全部比较后,第一位就是最小的 阅读全文
posted @ 2016-05-21 21:05 ShellHan 阅读(174) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; unsigned int GetNotRepeatNum(unsigned int Value) { bool flag = true; unsigned int result = Value; while (flag) { result++; int figure = ... 阅读全文
posted @ 2016-05-20 16:06 ShellHan 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 插入排序: 希尔排序: 阅读全文
posted @ 2016-05-20 14:22 ShellHan 阅读(154) 评论(0) 推荐(0) 编辑
摘要: .............................. ............................. ............................. ............................ http://music.163.com/api/song/ 阅读全文
posted @ 2016-05-18 11:20 ShellHan 阅读(6985) 评论(0) 推荐(0) 编辑
摘要: pthread_t:线程ID 转自http://blog.csdn.net/hudashi/article/details/7709413 Posix线程中的线程属性pthread_attr_t主要包括scope属性、detach属性、堆栈地址、堆栈大小、优先级。在pthread_create中,把 阅读全文
posted @ 2016-05-17 22:15 ShellHan 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 作者:王晓链接:http://www.zhihu.com/question/19719698/answer/13045301来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 感谢邀请。 网络上流传的答案有很多,估计提问者也曾经去网上搜过。所以根据自己微薄的经验提点看法。 阅读全文
posted @ 2016-05-12 19:36 ShellHan 阅读(125) 评论(0) 推荐(0) 编辑