会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
成长中的利剑
博客园
首页
新随笔
联系
管理
订阅
2016年12月12日
用c的数组简单的模拟了入栈
摘要: 其实很简单,只要控制住输出时倒输出、且只输出一个 #include <stdio.h>#include <stdlib.h>int zhan[20];int n=-1;void ru();void chu();int main(){ int a=0; while(1){ printf("按1入栈,按
阅读全文
posted @ 2016-12-12 19:51 成长中的利剑
阅读(240)
评论(0)
推荐(0)