Programming in C

(Barry) #1
514 Copying Characters from Standard Input to Standard Output

Copying Characters from Standard
Input to Standard Output (Program
16.2), 361-362
Copying Files (Program 16.3), 366-367
copysign( ) function, 484
cos( ) function, 484
cosh( ) function, 484
counters, array elements, 100-103
Counting the Characters in a String
(Program 10.2), 199-200
Counting Words (Program 10.7),
210-212
countWords( ) function, 210-215
cpow( ) function, 489
cproj( ) function, 489
creal( ) function, 489
csin( ) function, 489
csinh( ) function, 489
csqrt( ) function, 489
ctan( ) function, 490
ctanh( ) function, 490
cvs utility, programming functionality,
344
CygWin Web site, 502

D
data encapsulation (OOP), 417
data types
arguments, conversion of, 329-330
arrays, declaring, 97-98
C language specifications
basic, 430-432
declarations, 430
derived, 432-438
enumerated, 438
modifiers, 439
typedef statement, 438-439
char, 23
quote usage, 25-26

conversions
order in evaluating expressions, 327-329
sign extension, 329
Converting Between Integers and Floats
(Program 4.5), 36-38
converting to float, 36-38
converting to int, 36-38
double, 23-25
enumerated
defining, 321-322, 324
Using Enumerated Data Types (14.1),
322-324
float, 23
decimal notation, 24
hexadecimal notation, 25
scientific notation, 24-25
int, 23
base notations, 23-24
machine-dependent ranges, 24
ranges, 24
storage sizes, 24
valid examples of, 23
naming (typedef statement), 325-327
specifiers
long, 28-30
long long, 28-30
short, 28-30
signed, 28-30
unsigned, 28-30
storage of differing types (unions),
375-378
Using the Basic Data Types (Program
4.1), 26-27
void, 128
value storage, 26
debugging
gdb tool, 395-398
backtrace command, 405
break command, 400, 409

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

Free download pdf