C Programming Absolute Beginner's Guide (3rd Edition)

(Romina) #1

bugs, 10
buildContact() function, 288 , 292


C


calcIt() function, 17


case, variables, checking, 172 - 176
case statements, 153 - 162


case-changing functions, 176
C compilers, 7


ceil() function, 182
char variables, 42


character arrays, 52 - 54
storing string literals, 234 - 236


character string literals, 43
character-testing functions, 172


characters, 18 - 19
ASCII table, 313 - 317
conversion, 36 - 37
keywords, extracting from, 164 - 167
pointers, 234
sending single character to screen, 164 - 167
strings, 19
closing files, 269


code
See also programming
blocks, opening, 14
Blocks C compiler, 7 - 9
comments, 23 - 25
alternate style, 28
multi-line, 25
single-line, 28
specifying, 25 - 27
debugging, 10
indention, 16
line breaks, 27 - 28
loops
continue statement, 145 - 146
do...while, 127 - 129
for, 132 - 139
nesting, 135

Free download pdf