- 博客(7)
- 收藏
- 关注
原创 Practical C Programming - Chapter 10
C PreprocessorAll preprocessor commands begin with a hash mask (#) in column one and terminate at the end-of-line. A line may be continued by putting a backslash () at the end.define statement#define n
2015-02-16 16:19:51
296
原创 Practical C Programming - Chapter 9
Chapter 9. Variable Scope and Functions All variables have two attributes: scope and class. The scope of a variable is the area of the program in which the variable is valid. A global variable is val
2015-02-12 17:14:44
310
原创 Practical C Programming - Chapter 5
Arrays, Qualifiers, and Reading NumbersStringsC does not allow one array to be assigned to another.char sam[4];sam = "sam"; // errorThe standard function fgets can be used to read a string
2015-02-12 15:12:17
304
原创 Practical C Programming - Chapter 4
Chapter 4. Basic Declarations and ExpressionsBasic Program StructureThe function named main is special, because it is the first function called. Other functions are called directly or indirectly from m
2015-02-07 21:34:31
325
原创 Practical C Programming - Chapter 3
Chapter 3. StyleNot all comment sections are needed, so use only those that apply:HeadingAuthorPurposeUsageReferencesFile formatsRestrictionsRevision historyError handlingNotesUse vim abbrev
2015-02-07 20:41:13
271
原创 Practical C Programming - Chapter 2
Chapter 2. Basics of Program WritingBasics of GCC compilergcc -g -Wall -ohello hello.cThe -g option enables debugging.The switch -Wall turns on the warnings.The switch -ohelllo tells the compiler th
2015-02-05 22:37:02
262
原创 Ubuntu14.04上安装Ruby/tk
Tcl8.6 is distributed on Ubuntu14.04 by default. Ruby/tk doesn't support tcl8.6, it need tcl8.4 or tcl8.5.Download ActiveTcl from official site, install it and reintall ruby.rvm reinstall ruby-2.1
2015-02-04 23:54:20
1050
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅