Sams Teach Yourself C in 21 Days

(singke) #1
heap, dynamic memory allocation, free() func-
tion, 577
Hello World program, 16
C++, 650
compilation errors, 18-19
compiling hello.c, 16-17
linker errors, 19
hello.c source code, 16
hexadecimal constant, 52
hexadecimal number system, 794
hierarchical structure, structured program-
ming, 104
history of C, 7
HTML tags, 760
hyperbolic functions, 535

I

I/O, 148. See alsoinput; output
character, 450
strings, 237
gets() function, 237-241
printf() function, 237
puts() function, 236
scanf() function, 241-243
IDEs, 16
#if directive, 607
#if...#endif directive, debugging with, 608
if statement, 73-75, 115
else clause, 76-77
illustrated functions, 98-99
implicit conversions, 566
#include directive, 31
nesting, 606
INCLUDE environment variable (DOS), 607
inclusive OR operator, 585
increment expression, 126
increment operators (++), 65
pointers to arrays of structures, 271

incrementing
pointers, 206-207, 271-273
counter variables, 128
indexes, 124
indenting styles, nesting loops, 143
independent functions, 288
indirect access, 199
indirect membership operator, 270
indirect membership operator (->), 270
indirect recursion, 116
indirection operator (*), 197-199, 387
functions returning pointers, 526
passing by reference, 519
pointers as structure members, 266
infinite loops, 316-319
inheritance, 689-690, 724
building base classes, 690-692
C#, 767
C++, 636
constructor/desctructor order of operation,
696-698
final keyword, 737
inheriting from base classes, 693-696
Java classes, 736-740
protected access data modifier, 692
subclass constructors, 695-696
inheriting from base classes, 693-696
initial expression, 125
initializing
arrays, 184
character arrays, 228-229
character variables, 224
multidimensional arrays, 184
pointers, 198
pointers to functions, 407-412, 415-416
structures, 263-266
pointers to, 269
unions, 275-276
variables, 49

initializing 909

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

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

Free download pdf