1 # C Development Under DragonFly BSD Volume 7: Glossary and Tables for all Volumes
15 * #define - A keyword that is used to define a macro, variable, etc. for the C preprocessor.
16 * #include - A keyword that is used to inform the C preprocessor to open another file and process that.
17 * #if - A keyword that is used to inform the C preprocessor to only include the encapsulated code in the program if a given criteria is met.
18 * #else - A keyword that is used in conjunction with #if that informs the C preprocessor to include the encapsulated code in the program if the criteria is ***not*** matched by the corresponding #if statement.
19 * #elif - A keyword that is used in conjunction with #if that informs the C preprocessor to include the encapsulated code in the program if the criteria is ***not*** matched by the corresponding #if statement ***and*** it matches the supplied logical statement.
20 * #endif - A keyword that is used to inform the C preprocessor to end the last #if statement
46 C comments are statements not interpreted by the compiler and are used by the programmer to leave helpful notes on what is happening in the code. Comments are contained within the /* and */ symbols.
78 A C keyword used to express a non-fractional number that is commonly called an integer.
94 C keywords are words recognized by the compiler to denote certain operations. A full list of standard keywords includes:
100 auto break case char const continue default do
102 double else enum extern float for goto if
104 int long register return short signed sizeof static
106 struct switch typedef union unsigned void volatile while
112 In addition, GCC allows the use of in-line assembler by using the `asm` keyword.
128 Standard C language modifiers include:
136 static typedef volatile
154 Operators are symbols that when used, perform an operation on one or more operands. C uses the following operators:
158 , Used to separate expressions foo, bar
160 = Assignment foo = bar
162 ? : Conditional foo?bar:baz
164 || Logical OR foo || bar
166 && Logical AND foo && bar
168 | Bitwise OR foo | bar
170 ^ Bitwise Exclusive-OR (XOR) foo ^ bar
172 & Bitwise AND foo & bar
174 == Equality foo == bar
176 != Inequality foo != bar
178 <= Less than or Equals foo <= bar
180 >= Greater than or Equals foo >= bar
182 < Less than foo < bar
184 > Greater than foo > bar
186 << Left shift foo << bar
188 >> Right shift foo >> bar
190 + Addition or no-op foo + bar
194 - Subtraction or negation foo - bar
198 * Multiplication or de-assignment foo * bar
206 ~ Bitwise compliment ~foo
208 ! Logical compliment !foo
210 ++ pre- or post- decrement ++foo or foo++
212 -- pre- or post- decrement --foo or foo--
214 () Type casting or precedence (int) foo or (char) foo, etc
218 -> Structure de-referencing foo -> bar
220 . Structure reference foo.bar
222 [] Array reference foo[bar]
230 #### Preprocessor Directive