设为首页 加入收藏

TOP

线性表的基本操作及其作用(二)
2017-11-13 14:55:31 】 浏览:528
Tags:线性 基本操作 及其 作用
          {
                        printf("\a\n\tWarning: Memory is full!\n");
                        break;
                    }
                    else
                    {
                        //info_input(&info);
                        add(&L);
                        printf("\n\nAdd succeefully!              stu's num %u\n", L.length);
                        printf("Continue?[y]\n");
                        fflush(stdin);
                        ans = getchar( );
                        if (ans == '\n')
                        {
                            ans = 'y';
                        }
                        system("cls");
                    }
                }
                break;
            }
            case 2:
            {
                int locate;
                while (ans == 'y')
                {
                    printf("Please enter the node number you want to delete: ");
                    scanf("%d", &locate);
                    NodeDelete(&L, locate);
                    printf("\a\n\n\t\tDelete Successfully\n");
                    printf("Continue?[y]");
                    fflush(stdin);
                    ans = getchar( );
                    if (ans == '\n')
                    {
                        ans = 'y';
                    }
                    system("cls");
                }
      &
首页 上一页 1 2 3 4 5 6 下一页 尾页 2/6/6
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Java集合框架(Collections Framew.. 下一篇Spring的IOC模拟实现

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目