第七章: 分支控制1.while((c=getchar()) != '' && c!= '\n'): 循环读入字符,直到出现第一个空格或者换行符 while(getchar()!='\n') continue 跳过输入行的剩余部分。2.逻辑表达式是从左到右求值的,一旦发现有使表达式为假的因素,立即停... Read More
posted @ 2015-07-03 15:05 haipeng1991 Views(341) Comments(0) Diggs(0)