Programming in C

(Barry) #1
524 header files

H
header files
#include statement, 313-315
float.h, 316, 469
limits.h, 316, 468
math.h, 482
modular programming, use of, 341-342
stdbool.h, 469
stddef.h, 467
stdint.h, 469-470
stdlib.h, 490-491
help command (gdb debugger),
406-408
hexadecimal character value (\xnn)
escape character, 217
hexadecimal notation
float data types, 25
int data type, 23-24
high-order bit, 279
higher-level languages, 6
assembly languages, 6
compilers, 6
FORTRAN, 6
interpreters, 10
syntax standardization, 6
horizontal tab (\t) escape character,
216
hypot( ) function, 485

I
I/O functions, 473-478
I/O operations, 347
character functions
getchar( ), 348
putchar( ), 348
Copying Characters from Standard
Input to Standard Output (Program
16.2), 361-362

file functions
fclose( ), 365-367
feof( ), 367-368
fgets( ), 368
fopen( ), 363-364
fprint( ), 368
fputs( ), 368
getc( ), 365
putc( ), 365
remove( ), 371
rename( ), 371
files
end-of-file conditions, 361-362
redirecting to, 359-361
formatted functions
printf( ), 348-355
scanf( ), 355-359
function calls, 347
identifiers, C language specifications,
425
keywords, 426
predefined, 466
universal character names, 426
IDEs (Integrated Development
Environments), 10, 334
function of, 10
Linux, 10
Mac OS X
CodeWarrior, 10
Xcode, 10
Windows OS,Visual Studio, 10
if statement, 65
C language specifications, 458
compound relational tests, 72-74
else if construct, 77-83
general format, 65
if-else construct, 69-72
nested, 75-76

25 0672326663 index 6/10/04 2:04 PM Page 524

Free download pdf