01 2024 档案

摘要:#include <string.h> #include <errno.h> #include <arpa/inet.h> #include <sys/types.h> #include <sys/socket.h> #include <netdb.h> #define MAXLINE 1024 i 阅读全文
posted @ 2024-01-25 15:21 东宫得臣 阅读(41) 评论(0) 推荐(0) 编辑
摘要:#include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <arpa/inet.h> #define MAXBUF 1024 int main(int argc, char **arg 阅读全文
posted @ 2024-01-23 16:52 东宫得臣 阅读(52) 评论(0) 推荐(0) 编辑
摘要:#include <stdio.h> void inplace_swap(int *x, int *y) { printf(" \n"); printf("x = %d, y = %d\n", *x, *y); *y = *x ^ *y; printf("x = %d, y = %d\n", *x, 阅读全文
posted @ 2024-01-16 18:40 东宫得臣 阅读(16) 评论(0) 推荐(0) 编辑
摘要:#include <stdio.h> #include <stack> int main() { std::stack<char> s; int num, mod; printf("输入十进制数: \n"); scanf("%d", &num); printf("num: %d\n", num); 阅读全文
posted @ 2024-01-16 11:47 东宫得臣 阅读(89) 评论(0) 推荐(0) 编辑

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