上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 58 下一页
  2019年8月10日
摘要: 代码需要使用c99编译 阅读全文
posted @ 2019-08-10 20:02 你不知道的浪漫 阅读(2280) 评论(0) 推荐(0) 编辑
摘要: 1、不能在[]给定大小 2、不要在被调用函数里使用sizeof(a)/sizeof(a[0])形式传递数组大小,直接给出数组长度,或者在 主调函数中使用sizeof(a)/sizeof(a[0])传递长度 阅读全文
posted @ 2019-08-10 19:44 你不知道的浪漫 阅读(2462) 评论(0) 推荐(0) 编辑
摘要: #include #include int main() { int a[6] = {[1]=2,4,[5] =6}; for(int i = 0 ; i < 6; i++) { printf("a[%d]:%d\t",i,a[i]); } return 0; } 输出: a[0]:0 a[1]:2 a[2]:4 a... 阅读全文
posted @ 2019-08-10 19:33 你不知道的浪漫 阅读(478) 评论(0) 推荐(0) 编辑
摘要: #include #include int main() { int arr[6] = {0}; //每个值默认0 for(int i = 0; i < len; i ++) printf("%d\n",arr[i]); return 0; } 输出======================================== 0 0 0 0 0 ... 阅读全文
posted @ 2019-08-10 19:10 你不知道的浪漫 阅读(1628) 评论(0) 推荐(0) 编辑
  2019年8月9日
摘要: public String friendlyText(List data) { if(CollectionUtils.isEmpty(data)) { return "[]"; } StringJoiner joiner = new StringJoiner(",", "[", "]"); String body = (String)data.s... 阅读全文
posted @ 2019-08-09 13:11 你不知道的浪漫 阅读(532) 评论(0) 推荐(0) 编辑
  2019年8月8日
摘要: 业务场景:查询出 #{starttime}到#{endtime}之间的记录 以下基于mybatis mysql数据库 starttime:2018-05-03 endtime:2018-05-04 现实业务中可能需要的数据时间段是2018-05-03 00:00:00到2018-05-04 23:2 阅读全文
posted @ 2019-08-08 13:22 你不知道的浪漫 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 2、查出最大值 表字段中有一个字段:模块id(f_moudleId),查询最大值 3、综合使用:格式化 根据知识库表里面的记录,生成下一条知识库id 阅读全文
posted @ 2019-08-08 13:16 你不知道的浪漫 阅读(1890) 评论(0) 推荐(1) 编辑
摘要: maven引入依赖 java代码 注意事项:map的value值不能为null, 阅读全文
posted @ 2019-08-08 10:29 你不知道的浪漫 阅读(1033) 评论(0) 推荐(0) 编辑
摘要: 其中ens192是网卡名, /tmp/redis-zsetcapture.cap是抓包的数据库,可以下载回来放到wireshark中分析 阅读全文
posted @ 2019-08-08 09:52 你不知道的浪漫 阅读(1646) 评论(0) 推荐(1) 编辑
摘要: Having had to use unsigned bytes for the first time, I also had to learn how Java references these datatypes. I did some research, and found a number 阅读全文
posted @ 2019-08-08 08:43 你不知道的浪漫 阅读(480) 评论(0) 推荐(0) 编辑
上一页 1 ··· 33 34 35 36 37 38 39 40 41 ··· 58 下一页