haitao: 这些代码好像有问题。。。。。。。。 [阅读: 353] 2007-06-13 09:18:01 既然ch返回'?'了,怎么能打印出哪个参数名取不到参数值呢? case '?': printf( "illegal option: %c\n", ch ); break;