滚动字幕问题
#include<stdio.h>void main()
{ int i=1;
void m1();
void m2();
void m3();
void m4();
while(i<=500)
{ i++;
if(i/2!=0)
{m1();
printf("\n");
m3();
printf("\n");}
else {m3();
printf("\n");
m4(); }
}
}
void m1()
{
int i,j;
int m1[5][5]={{0,1,0,0,0},{0,1,0,0,0},{0,1,0,0,0},{0,1,0,0,0},{0,1,1,1,0}};
for(i=0;i<=4;i++)
{
for(j=0;j<=4;j++)
printf("%c",m1[i][j]);
printf("\n");
}
}
void m2()
{
int i,j;
int m1[5][5]={{0,1,1,1,0},{0,1,0,1,0},{0,1,0,1,0},{0,1,0,1,0},{0,1,1,1,0}};
for(i=0;i<=4;i++)
{
for(j=0;j<=4;j++)
printf("%c",m1[i][j]);
printf("\n");
}
}
void m3()
{
int i,j;
int m1[5][5]={{1,0,0,0,1},{0,1,0,1,0},{0,1,0,1,0},{0,1,0,1,0},{0,0,1,0,0}};
for(i=0;i<=4;i++)
{
for(j=0;j<=4;j++)
printf("%c",m1[i][j]);
printf("\n");
}
}
void m4()
{
int i,j;
int m1[5][5]={{0,1,1,1,0},{0,1,0,0,0},{0,1,1,1,0},{0,1,0,0,0},{0,1,1,1,0}};
for(i=0;i<=4;i++)
{
for(j=0;j<=4;j++)
printf("%c",m1[i][j]);
printf("\n");
}
}
请问高手怎么把LOVE几个字母在屏幕上横着竖着滚动?我是新手,图形化的就不说,只要用最底层的东西达到目的就行了。