- 論壇徽章:
- 0
|
轉(zhuǎn)自我的Blog.- The C programming language was pioneered by Dennis Ritchie at AT&T Bell Laboratories.
- The most recent standard was adopted in 1999 called ANSI C99 or ISO/IEC 9899:1999.
- Programs should be written readablely so that they can be easily read eithe by the author or by somebody else.
- The ‘return’ statement in main() returns exit status that can be tested by other programs (such as bash) to see whether the program ran successfully.
- Making comment is useful, but don’t do it too much.
- Making comment while coding.
- We can use 63 characters as a variable name, but we needn’t.
- Don’t be lazy. Meaningful variable names can make programs readable ’cause they’re self-explanatory.
- The basic date types in C are int, float, double, char, _Bool.
- The meaning of ‘constant’:常數(shù) (我猜了很久才猜出來)
未完待續(xù)…… |
|