03 2018 档案

摘要:split 将字符串拆分 regex=???,根据???以其为界进行拆分。 public String[] split(String regex) 根据给定正则表达式的匹配拆分此字符串。 该方法的作用就像是使用给定的表达式和限制参数 0 来调用两参数 sp... 阅读全文
posted @ 2018-03-24 16:48 莫逸风 阅读(425) 评论(0) 推荐(0) 编辑
摘要:/*******main*******/ #include #include #include "Linklist.h" /* run this program using the console pauser or add your own getch,... 阅读全文
posted @ 2018-03-22 21:39 莫逸风 阅读(52) 评论(0) 推荐(0) 编辑
摘要:/******main.c******/ #include #include #include "Sqlist.h" /* run this program using the console pauser or add your own getch, s... 阅读全文
posted @ 2018-03-22 21:25 莫逸风 阅读(56) 评论(0) 推荐(0) 编辑
摘要:内置类型比较直接用==判断 字符串比较要用string.h里的函数strcmp(const char *str1,const char *str2)进行比较string.h里的函数strcmp(const char *str1,const char *str2... 阅读全文
posted @ 2018-03-15 20:24 莫逸风 阅读(482) 评论(0) 推荐(0) 编辑
摘要:二维数组定义的时候,可以不指定行的数量,但是必须指定列的数量。 阅读全文
posted @ 2018-03-06 21:36 莫逸风 阅读(43) 评论(0) 推荐(0) 编辑
摘要:表达式1 ? 表达式2 : 表达式3; 先判断表达式1的值是否为真,如果是真的话执行表达式2;如果是假的话执行表达式3。 阅读全文
posted @ 2018-03-05 21:39 莫逸风 阅读(54) 评论(0) 推荐(0) 编辑
摘要:/* #define 标识符 #define day main中day=10;仅一次赋值*/ 错误 #define 标识符 常量值 #define day 10; 阅读全文
posted @ 2018-03-05 21:05 莫逸风 阅读(140) 评论(0) 推荐(0) 编辑
摘要:%d:带符号十进制整数 ; %c:单个字符; %s:字符串; %f:6位小数;float; %.2f表示小数点后精确到两位 %lf:6位小数;double; 阅读全文
posted @ 2018-03-05 20:59 莫逸风 阅读(121) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示