同样的函数多嵌套了一层就不能运行了

2019-03-23 19:11发布

while(1)
{
       Load_Sys_ICO3( );
//    AI_LoadPicFile("0:/sg.bmp",34,30,134,60);
//         AI_LoadPicFile("0:/qu.bmp",168,30,223,60);
//         AI_LoadPicFile("0:/qd.bmp",257,30,312,60);
//         AI_LoadPicFile("0:/zg.bmp",346,30,446,60);
//         AI_LoadPicFile("0:/ps.bmp",34,90,134,120);
//         AI_LoadPicFile("0:/p0.bmp",168,90,223,120);
//         AI_LoadPicFile("0:/p1.bmp",257,90,312,120);
//         AI_LoadPicFile("0:/h6.bmp",34,150,134,180);
//         AI_LoadPicFile("0:/lo.bmp",168,150,223,180);
//         AI_LoadPicFile("0:/lc.bmp",257,150,312,180);
//         AI_LoadPicFile("0:/fz.bmp",34,210,134,240);
//         AI_LoadPicFile("0:/fo.bmp",168,210,223,240);
//         AI_LoadPicFile("0:/fc.bmp",257,210,312,240);
//         AI_LoadPicFile("0:/back.bmp",356,150,446,240);
//      AI_LoadPicFile("0:/950.bmp",346,90,446,120);
}

void Load_Sys_ICO3(void)
{
        AI_LoadPicFile("0:/sg.bmp",34,30,134,60);
        AI_LoadPicFile("0:/qu.bmp",168,30,223,60);
        AI_LoadPicFile("0:/qd.bmp",257,30,312,60);
        AI_LoadPicFile("0:/zg.bmp",346,30,446,60);
        AI_LoadPicFile("0:/ps.bmp",34,90,134,120);
        AI_LoadPicFile("0:/p0.bmp",168,90,223,120);
        AI_LoadPicFile("0:/p1.bmp",257,90,312,120);
        AI_LoadPicFile("0:/h6.bmp",34,150,134,180);
        AI_LoadPicFile("0:/lo.bmp",168,150,223,180);
        AI_LoadPicFile("0:/lc.bmp",257,150,312,180);
        AI_LoadPicFile("0:/fz.bmp",34,210,134,240);
        AI_LoadPicFile("0:/fo.bmp",168,210,223,240);
        AI_LoadPicFile("0:/fc.bmp",257,210,312,240);
        AI_LoadPicFile("0:/back.bmp",356,150,446,240);
       AI_LoadPicFile("0:/950.bmp",346,90,446,120);
}

while(1)是在main里面,运行 Load_Sys_ICO3( );程序就会卡死,但是单独运行里面每一个函数就不会有问题,望高人解答原因 此帖出自小平头技术问答
0条回答

一周热门 更多>