摘要: 1 #include 2 3 #define LEN 10 4 5 /* 6 折半查找(二分法检索). 7 */ 8 9 int 10 index_of(int *a, int k) {11 int l = 0;12 int r = LEN -1;13 int m;... 阅读全文
posted @ 2014-12-11 10:41 wonkju 阅读(273) 评论(0) 推荐(0)
摘要: 在使用android真机试图连接本地的tomcat的时候,发现一直没有反应.网上搜了很多资料,加上自己不断测试,后来发现模拟器访问tomcat的时候,ip的概念跟在pc上访问tomcat用的ip,根本就不同,更不用说真机了.怎么说呢?如果使用localhost(或127.0.0.1)就表示连接a... 阅读全文
posted @ 2014-12-11 00:31 wonkju 阅读(767) 评论(0) 推荐(0)