求助 C语言输出图案
#include "stdio.h" #include "conio.h"
main()
{
int i,j;
printf("\1\1\n"); /*输出两个笑脸*/
for(i=1;i<11;i++)
{
for(j=1;j<=i;j++)
printf("%c%c",219,219);
printf("\n");
}
getch();
}
各位大虾们:
希望解释下, 这个为啥会输出这种特殊图案呢 ?小弟不大明白这是啥原理.多谢拉
2010-01-14 20:27
2010-01-15 16:11