zoukankan      html  css  js  c++  java
  • 项目1(2)

      void muin()//界面函数
      {
         system("cls");  //清屏
         printf("********************************************************************* ");
         printf("********************************************************************* ");
         printf("                        欢迎使用本系统                                    ");
         printf(" ");
         printf("请选择以下操作: ");
         printf("1、查看联系人(Q) ");
         printf("2、新增联系人(I) ");
         printf("3、修改联系人(M) ");
         printf("4、删除联系人(D) ");
         printf("5、退出本系统(X) ");
         printf("********************************************************************* ");
         printf("********************************************************************* ");
         char c;
         c = _getche();
         printf(" ");
         if (c == 'q' || 'Q')
         {
            //查看
         }
         else if(c=='i'||'I')
         {
            //添加
         }
         else if (c == 'm' || 'M')
         {
            //修改
         }
         else if (c == 'd' || 'D')
         {
            //删除
         }
         else if (c == 'x' || 'X')
         {
          system("exit");//esc退出
         }
      }

      int main()  //主函数
      {
     
          return 0;
      }

  • 相关阅读:
    cshtml折叠
    toggleClass通过切换类实现样式变换
    Spring Initailizr(项目初始化向导)
    @EnableConfigurationProperties + @ConfigurationProperties 注解
    @Component + @ConfigurationProperties 注解
    入门案例(hello-springBoot)
    SSM 项目整合(书籍管理系统)
    SSM 项目整合 (用户管理系统)
    SpringBoot 配置
    SpringBoot 概念
  • 原文地址:https://www.cnblogs.com/xiaoj-/p/7979356.html
Copyright © 2011-2022 走看看