小弟用C语言写了一个程序 还请各位来看 并希望各位指出可更好的地方 !
程序代码:
/**** I love you_ 999999 ****/ #include <stdio.h> #include <stdlib.h> #include <windows.h> int fc_1(); int fc_2(); /*** 主函数 ***/ int main() { int x,y; system("title I love you 1314!"); system("color F5"); printf("请耐心看完哦:\n"); printf(" I love you: \n"); for (x=0;x<=1314521;x++) fc_1(x); printf("\n"); printf(" 一生一世我爱你!\n"); printf(" I hate you: \n"); for (y=1000000;y>=0;y--) fc_2(y); printf("\n"); printf(" 我爱你,胜过我恨你!\n"); for (x=0;x<=15;x++) printf(" "); printf("You are my little dear little apple\n"); printf("\n"); for (x=0;x<=21;x++) printf(" "); printf("Just love the sky the moust beautiful clods\n"); printf("\n"); for (x=0;x<=19;x++) printf(" "); printf("你是我的小呀小苹果,\n"); printf("\n"); for (x=0;x<=15;x++) printf(" "); printf("怎么爱你呀都不嫌多。\n"); for (x=0;x<=23;x++) printf(" "); printf("5\n"); for (x=0;x<=26;x++) printf(" "); printf("2\n"); for (x=0;x<=29;x++) printf(" "); printf("0\n"); for (x=0;x<=32;x++) printf(" "); printf("1 ---<you are just my one baby !>--- "); for (x=0;x<=39;x++) printf(" "); printf("3\n"); for (x=0;x<=26;x++) printf(" "); printf("1\n"); for (x=0;x<=23;x++) printf(" "); printf("4\n"); printf("\n"); printf(" I miss you everyday !\n"); system("pause"); exit(0); } fc_1(int x) { printf(" %d\r",x); return 0; } fc_2(int y) { printf(" %d\r",y); return 0; }