void menu()                /*功能选择函数*/
{   int choice;
    char judge;
    printf("\ninput your choice:(1--assign,2--callback):");
    scanf("%d",&choice);
    getchar();
    if(choice==1)
       assign();
    else if(choice==2)
       callback();
    else
       printf("\ninvalid command!");
    printf("\ncontinue or not?(y--Yes,n--Not):");
    scanf("%c",&judge);
    getchar();
    if(judge=='y')
       menu();
    else
       {   printf("\nNow the graph is:");
    display();
           printf("\npress any key to quit");
           getch();
       }    
} 
main()
{   int i;
    for(i=0;i<=3;i++)
       MA[i]=A[0][i];
    display();
    menu();
} 
上一页  [1] [2] [3] 
模拟UNIX系统成组链接法 实现磁盘存储空间的管理 第3页下载如图片无法显示或论文不完整,请联系qq752018766