上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: #include<stdio.h> #define MaxVertexNum 10 int main(){ // int a=10; // int* p=&a; typedef struct LinkQueue{ int V[MaxVertexNum]; int front,rear; }*Queu 阅读全文
posted @ 2021-04-26 15:56 磐正 阅读(46) 评论(0) 推荐(0)
摘要: 1 #include<stdio.h> 2 #define N 16 3 void Convert(int n){ 4 //实现进制转换 5 int a[10];//最大为10位二进制 6 int remainder,i=-1; 7 while(n>=1){ 8 remainder=n%N; 9 / 阅读全文
posted @ 2021-04-23 00:40 磐正 阅读(749) 评论(0) 推荐(0)
摘要: import re text="_name:Chen Jun,password:ILOVEYOU paas" result=re.findall(r"(.n)|(YOU)",text)#表示分组,根据元组特性,单个元素的元组要加, print(result) 阅读全文
posted @ 2021-04-09 23:08 磐正 阅读(45) 评论(0) 推荐(0)
摘要: \d 匹配单个数字 \D 匹配单个非数字 \w 匹配单个字母包括下划线 \W 匹配单个非字母(比如:, ) . 匹配任何单个字符('\n','\r'除外) + 匹配前面的子表达式>=1次,如'pa+'可以匹配'paaa',a添加多次 * 匹配前面的子表达式>=0次 ? {N} 指定匹配的次数'ab{ 阅读全文
posted @ 2021-04-09 22:12 磐正 阅读(35) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-04-09 21:23 磐正 阅读(81) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/chr1991/article/details/80945455?utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromMachineLearnPa 阅读全文
posted @ 2021-04-09 20:31 磐正 阅读(39) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<stdlib.h> #define N 3//不包括头节点共N个 //创建结构体 typedef struct Node { int value; struct Node* next; }Node,*pNode; int main() { pNo 阅读全文
posted @ 2021-04-07 23:16 磐正 阅读(52) 评论(0) 推荐(0)
摘要: 1..类的一个特征就是封装,public和private作用就是实现这一目的。 2.类的另一个特征就是继承,protected的作用就是实现这一目的 类外不能访问protected成员 类外不能访问private成员 1.private成员只能被本类成员(类内)和友元访问,不能被派生类访问; 2.p 阅读全文
posted @ 2021-04-05 19:15 磐正 阅读(670) 评论(0) 推荐(0)
摘要: 在Eclipse安装目录下找到它的配置文件“eclipse.ini”,打开该配置文件; 然后在最后一行添加如下相应命令: 界面显示中文:-Duser.language=zh 界面显示英文:-Duser.language=en 阅读全文
posted @ 2021-04-05 13:56 磐正 阅读(372) 评论(0) 推荐(0)
摘要: https://www.php.cn/java/guide/462574.html https://blog.csdn.net/kuangay/article/details/81485324 阅读全文
posted @ 2021-04-05 13:07 磐正 阅读(26) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页