Review C[To Be continue]

来源:互联网 发布:数据挖掘入门书籍推荐 编辑:程序博客网 时间:2024/05/16 17:58

Chapter 1 : A Tutorial Introduction

“As a matter of style, it is advisable to format this construction as we have shown; if each if were indented past the previous else, a long sequence of decisions would march off the right side of the page. ”

这里说的是

The pattern

   if (condition1)       statement1   else if (condition2)       statement2       ...       ...   else       statementn里面的statement的布局。
看中文版时理解错了,看英文版才明白过来。
Chapter 2 : Types,Operators and Expressions
“Names are made up of letters and digits; the first character must be a letter. The underscore ``_'' counts as a letter; it is sometimes useful for improving the readability of long variable names. Don't begin variable names with underscore, however, since library routines often use such names.”
原创粉丝点击