Sams Teach Yourself C in 21 Days

(singke) #1
polymorphism, 631-634
program types, 640
sample program, 636, 639
C++ constructs, 687
compared to procedural, 630
constructs, 631
inheritance, 689-690
building base classes, 690-692
constructor/desctructor order of operation,
696-698
inheriting from base classes, 693-696
protected access data modifier, 692
subclass constructors, 695-696
Java, 641
applets versus applications, 643
class libraries, 643
Hello World program, 644
packages, 643
related to C/C++, 641
platform independence, 642
op keyword, 85
opening files, disk streaming, 441-445
operands
modes, 65
type promotion, 567
operating system commands, executing, 330-
332
operating systems
filenames, 440
memory allocation, 571
operators, 64
assignment (=), 64
compound, 85
binary, 66-69
bitwise
bit fields in structures, 586-587
complement, 586
logical, 584
shift, 582
C++, 655

comma, 86
conditional, 86
dot (.), 251-252
double indirection operator, 397
indirect membership (-), 270
indirection (*), 197-199
logical, 81-83
member (.), 263
pointer arithmetic, 209
precedence, 69-70
subexpressions, 71
summary, 87
relational, 71
evaluating, 78
precedence, 80
sizeof, 189
structure pointers, 270
throw, 655
type promotion, 567
unary (++, —), 64-66
OR conditions, unions, 275
OR operator (||), 82, 584
output, 338
controlling, 358-365
devices, 338
formatted output, 361-368
printf() function, 148
conversion specifiers, 152, 154
escape sequences, 149, 151-152
format strings, 148
puts() function, 156
redirecting, 368-369
screen output, 358
fputc() function, 360
fputs() function, 360
putc() function, 360
putchar() function, 358-360
puts() function, 360-361

output 919

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

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

Free download pdf