摘要: #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 东宫得臣 阅读(10) 评论(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 东宫得臣 阅读(51) 评论(0) 推荐(0) 编辑