摘要: #include<stdio.h> #include<windows.h> #include<conio.h> int key_to=1; void set_key_pos(void *handle,int x,int y){ COORD pos={y,x}; SetConsoleCursorPos 阅读全文
posted @ 2024-08-08 15:59 计算机知识杂谈 阅读(26) 评论(0) 推荐(0)
摘要: 后缀表达式由于其特殊性只需要操作数栈,不需要运算符栈,每当出现运算符就说明是对前面两个操作数进行操作 #include<bits/stdc++.h> using namespace std; char tok[30][20]; int tok_max; int pos=1; int main(){ 阅读全文
posted @ 2024-08-08 15:21 计算机知识杂谈 阅读(18) 评论(0) 推荐(0)