摘要: #include <iostream> #include <vector> #include <string> #define sum(a,b,c) a+b+c using namespace std; int a = 3; int main() { // int *p = NULL; // int 阅读全文
posted @ 2021-10-25 21:43 Kiris 阅读(60) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <pthread.h> //节点结构体 struct msg { int num; //数据区 struct msg *next; //链表区 }; struct 阅读全文
posted @ 2021-10-25 21:41 Kiris 阅读(32) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<malloc.h> #include<unistd.h> int bss_var; int data_var0=1; int main(int argc,char **argv) { printf("below are addresses of 阅读全文
posted @ 2021-10-25 21:40 Kiris 阅读(18) 评论(0) 推荐(0) 编辑
摘要: #include <stdlib.h> #include <stdio.h> #include <algorithm> #include <iostream> #include <string> using namespace std; /* 实现itoa函数 int to array */ cha 阅读全文
posted @ 2021-10-25 21:38 Kiris 阅读(243) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std;int main(){ const char p... 阅读全文
posted @ 2021-10-25 21:37 Kiris 阅读(20) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> #include <string> #include <algorithm> using namespace std; int midFactor1(int n) { vector<int> factors; for(int 阅读全文
posted @ 2021-10-25 21:36 Kiris 阅读(31) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> #include <mutex> #include <memory.h> using namespace std; int e = 6; int getNum() { return 5; }; int main() { in 阅读全文
posted @ 2021-10-25 21:34 Kiris 阅读(23) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> #include <string.h> using namespace std; int main() { char *p1 = "0123+%"; char p2 = '0123+%'; char *p5; p5 = &p 阅读全文
posted @ 2021-10-25 21:32 Kiris 阅读(13) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> #include <string.h> using namespace std; int isSpace(char x) { if(x == ' ' or x == '\t' or x == '\n') { return 1 阅读全文
posted @ 2021-10-25 21:29 Kiris 阅读(14) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std;struct Node{ int data; ... 阅读全文
posted @ 2021-10-25 21:20 Kiris 阅读(19) 评论(0) 推荐(0) 编辑