【文件属性】:
文件名称:I love you
文件大小:10KB
文件格式:EXE
更新时间:2014-04-30 06:46:21
c语言编写
#include "stdio.h"
void main()
{
int x1,x2,x3,x4,x5,x6,x7,x8,y;
char i[10][7]={{'*','*','*','*','*','*','*'},{'\0','\0','\0','*','\0','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'},{'*','*','*','*','*','*','*'}};
char l[10][7]={{'*','\0','\0','\0','\0','\0','\0'},{'*','\0','\0','\0','\0','\0','\0'},{'*','\0','\0','\0','\0','\0','\0'},{'*','\0','\0','\0','\0','\0','\0'},{'*','\0','\0','\0','\0','\0','\0'},{'*','\0','\0','\0','\0','\0','\0'},{'*','\0','\0','\0','\0','\0','\0'},{'*','\0','\0','\0','\0','\0','\0'},{'*','\0','\0','\0','\0','\0','\0'},{'*','*','*','*','*','*','*'}};
char o[10][7]={{'\0','\0','*','*','*','\0','\0'},{'\0','*','\0','\0','\0','*','\0'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'\0','*','\0','\0','\0','*','\0'},{'\0','\0','*','*','*','\0','\0'}};
char v[10][7]={{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'\0','*','\0','\0','\0','*','\0'},{'\0','\0','*','\0','*','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'}};
char e[10][7]={{'*','*','*','*','*','*','*'},{'*'},{'*'},{'*'},{'*'},{'*','*','*','*','*','*','*'},{'*'},{'*'},{'*'},{'*','*','*','*','*','*','*'}};
char g[10][7]={{'*','\0','\0','\0','\0','\0','*'},{'\0','*','\0','\0','\0','*','\0'},{'\0','\0','*','\0','*','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'},{'\0','\0','\0','*','\0','\0','\0'}};
char u[10][7]={{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'*','\0','\0','\0','\0','\0','*'},{'\0','*','\0','\0','\0','*','\0'},{'\0','\0','*','*','*','\0','\0'}};
for(y=0;y<10;y++)
{
for(x1=0;x1<7;x1++)
printf("%c",i[y][x1]);
printf(" ");
for(x2=0;x2<7;x2++)
printf("%c",l[y][x2]);
printf(" ");
for(x3=0;x3<7;x3++)
printf("%c",o[y][x3]);
printf(" ");
for(x4=0;x4<7;x4++)
printf("%c",v[y][x4]);
printf(" ");
for(x5=0;x5<7;x5++)
printf("%c",e[y][x5]);
printf(" ");
for(x6=0;x6<7;x6++)
printf("%c",g[y][x6]);
printf(" ");
for(x7=0;x7<7;x7++)
printf("%c",o[y][x7]);
printf(" ");
for(x8=0;x8<7;x8++)
printf("%c",u[y][x8]);
printf("\n");
}
getch();
}