copy input to output ; replace more blacks with one black
#define STATE IN /*inside blacks*/
#define STATE OUT /* outside black*/
while ((c = getchar()) != EOF){
if c == ' ' STATE = IN;
else STATE = OUT;
if (!STATE)
putchar (c);
阅读(2263) | 评论(0) | 转发(0) |