这个程序问题在那里,如果有好的解答,奖励 100 +

#include<stdio.h> #include<conio.h> int main() { char c; while ( (c=getch()) * ((c - ' ')&&putchar(c)+1) * (c - 13) ); return 1; }在VS2010编译为什么出错
大家先运行程序,再说说为什么,顺便将你们编译器报上来,解答详尽100+

#include<stdio.h> #include<conio.h> int main() { char c; while ( (c=getch()) * (((c - ' ')&&putchar(c))|1) * (c - 13) ); return 1; }用DEV C++可以实现大体功能
输入一字符串并打印在屏幕上,但遇到空格不显示出来,最后以回车键结束。
[ 本帖最后由 点线面 于 2011-2-18 16:25 编辑 ]