标签:io art ar file har text ef return
/*多个空格只输出一个*/ #include<stdio.h> int main(void) { char sucker, spoon, chopstick; sucker = spoon = chopstick = ‘\0‘; while((sucker=getchar())!=EOF){ if(chopstick!=sucker) putchar(sucker); if(sucker==‘ ‘) chopstick = sucker; else chopstick = ‘\0‘; } return 0; } //e:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.8.1\..\..\..\libmingw32.a(main.o):main.c:(.text.startup+0xa7)||undefined reference to `WinMain@16‘|
标签:io art ar file har text ef return
原文地址:http://my.oschina.net/u/1470228/blog/295822