#include<stdio.h>
#include<graphics.h>
#include<windows.h>
#include
using namespace std;
#define WINDOW_WIDTH 1200
char yue[20] {“yue”};
int x = 1100;
int y = 350;
int main()
{
int count = 0, i;
int len = strlen(yue);
initgraph(WINDOW_WIDTH, 800, SHOWCONSOLE);
settextstyle(60, 0, "新宋体");
settextcolor(RGB(0, 255, 255));
while (1)
{
for (i = 0; i < len ; i++)
{
x += 0;
outtextxy(x, y, yue);
x -= 3;
Sleep(10);
}
}
while (1);//停顿
system("pause");
return 0;
}