关于#c++#的问题:问题遇到的现象和发生背景 自定义函数只运行了第一个函数L,第二三四个OVE函数都没有运行,此程序用于表白望大家看看

问题遇到的现象和发生背景

自定义函数只运行了第一个函数L,第二三四个OVE函数都没有运行

问题相关代码,请勿粘贴截图
运行结果及报错内容
我的解答思路和尝试过的方法
我想要达到的结果

其他自定义函数OVE也运行

#include<stdio.h>
#include<graphics.h>
#include<conio.h>
void L(int x,int y)
{
    while(y<=350)
    {
        fillcircle(x,y,5);
        Sleep(10);
        y+=1;
    }
    while(x<=150)
    {
        fillcircle(x,y,5);
        Sleep(10);
        x+=1;
    }
    _getch();
    closegraph();
}
void O(int x,int y)
{
    fillcircle(x,y,5);
    while(x>=250&&y>=250)
    {
        fillcircle(x,y,5);
        Sleep(10);
        x-=1;
        y-=1;
    }
        while(x>=200&&y<=300)
    {
        fillcircle(x,y,5);
        Sleep(10);
        x-=1;
        y+=1;
    }
        while(x<=250&&y<=350)
    {
        fillcircle(x,y,5);
        Sleep(10);
        x+=1;
        y+=1;
    }
        while(x<=300&&y>=300)
    {
        fillcircle(x,y,5);
        Sleep(10);
        x+=1;
        y-=1;
    }
    _getch();
    closegraph();
}
void V(int x,int y)
{
    while(x<=400&&y<=350)
    {
        fillcircle(x,y,5);
        Sleep(10);
        x+=1;
        y+=2;
    }
    while(x<=450&&y>=250)
    {
        fillcircle(x,y,5);
        Sleep(10);
        x+=1;
        y-=2;
    }
    _getch();
    closegraph();
}
void E(int x,int y)
{
    int a=550,b=300;
    while(x>=550)
    {
        fillcircle(x,y,5);
        Sleep(10);
        x-=1;
    }
    while(y<=350)
    {
        fillcircle(x,y,5);
        Sleep(10);
        y+=1;
    }
    while(x<=650)
    {
        fillcircle(x,y,5);
        Sleep(10);
        x+=1;
    }
    while(a<=650)
    {
        fillcircle(a,b,5);
        Sleep(10);
        a+=1;
    }
    _getch();
    closegraph();
}
void main()
{
    initgraph(700,600);    
    L(50,250);
    O(300,300);
    V(350,250);
    E(650,250);
}

![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/311330449546174.png "#left")