• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
寒夜月冷
when you believe!!!
      新随笔       管理     
2014年3月18日
顺序表的建立,查找,删除,插入,输出【转】
摘要: 1 #include 2 #include 3 //来自夏天里的向日葵 4 #define maxsize 1111 5 6 typedef struct 7 { 8 int a[1111]; 9 int len; 10 }S; 11 12 S *init() 13 { 14 S *l; 15 l=malloc(sizeof(S)); 16 l->len=-1; 17 return l; 18 } 19 20 int insert(S *l,int m,int e) 21 { 22 int i; 23 ... 阅读全文
posted @ 2014-03-18 22:41 寒夜月冷 阅读(430) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3