Sams Teach Yourself C in 21 Days

(singke) #1
ANSI Standard C, 8, 12. See alsoC-99, 12
ANSI-defined constants, 808
APPLET tag, 760
applets (Java)
adding to Web pages, 760-761
AppletTest.java sample program, 761-763
applications, compared, 759
HTML code in AppletTest sample program,
761
skeleton of (listing), 759-760
approximate range, 46
arguments, 30. See alsovariables, 99
command argument
system() function, 331
command-line, 612-613
comparing to parameters, 107
function macros, 602
in functions, 99
Java class constructors, 734
methods, 728
of functions, 100
writing, 106-108
passing by value, 516
passing structures as, 273-275
passing to functions, 114-115
passing to parameters, 108
printf() function, 155
scanf() function, 161, 350-352
void pointers, 520
arithmetic operations, 209-210
arrays, 175
of characters, 228-229
declaring, 181-183
element addresses, displaying, 204-205
in for statements, 124
initializing, 184
maximum size, 188-190
members of structures, 257-259

multidimensional, 180
initializing, 184
pointers, 389-397
naming, 181-183
of pointers, 397-398
char type, 398-400
example of, 401-406
passing by reference, 516
passing to functions, 211-216
pointers
arithmetic operations, 209-210
array element storage, 203-205
array names as, 202-203
comparisons, 209
decrementing, 207-208
differencing, 209
incrementing, 206
quick sort algorithm, 550
single-dimensional, 176-180
of structures, 260-263
pointers to, 270-273
structures of, 257-259
subscript notation, compared to pointers, 211
subscripts, 124, 176
ASCII
source code files, 11
strcat() function, 489
ASCII character set, 224, 784
extended, 226-227
portable characters, 800
ASCII codes, comparing strings, 490
asctime() function, 539
asin() function, 534
assert() function, 544-546
assert.h, 544
assignment operator (=), 64
compound, 85
initializing variables, 49
assignment statements, operator precedence,
69

assignment statements 895

How can we make this index more useful? Email us at [email protected]

51 448201x-Index 8/13/02 11:23 AM Page 895

Free download pdf