Sams Teach Yourself C in 21 Days

(singke) #1
pointing to arrays of structures, 270-273
pointing to pointers, 387-389
pointing to structures, 268-270
returned by functions, 526-528
structure members, 266-268
structures of arrays, 258
to arrays of structures, 270-273
to functions, 406
declaring, 407
initializing, 407-416
to strings, 229
to structures, 268-270
typecasting, 569
void, 520-523
polymorphism
C#, 767
C++, 631-634
function overloading, 655
pop-up windows, creating with AWT, 754-758
PopUpDemo.java sample program, 756-758,
777
PopUpWindow class, 755-756
portability, 8, 797
ANSI standard, 797
avoiding use, 801
header files, 820
keywords, 798
case sensitivity, 798-800
character sets, 800
converting character cases, 814-815
predefined constants, 817
structures/unions, 815
reading/writing, 816
word alignment, 815-816
with non-ANSI features, 817-819
postfix mode, 65
pow() function, 536
precedence, 69-70
[ ] (brackets), 394
indirection operator (*), 407

logical operators, 83
of operators, 87
relational operators, 80
subexpressions, 71
precision modifiers, scanf() function, 352
precision specifier, printf() function, 364
predefined constants, 817
predefined functions, 13
predefined macros, 611
predefined streams, 339-340
prefix mode, 65
preprocessor, 601
#define directive
function macros, 602-605
macro expansion, 605
macros versus functions, 605
substitution macros, 601
#elif directive, 607
#else directive, 607
#endif directive, 607
#if directive, 607
#if...#endif directive, debugging with, 608
#include directive, nesting, 606
#undef directive, 610
ANSI-standard directives, 816
multiple header files, 609
preprocessor directives, 601
printer output under DOS, fprintf() function,
371-372
printf() function, 13, 32, 110, 148, 237, 361-
368
arguments, 155
conversion specifiers, 152, 154
escape sequences, 149-152, 365
field-width specifier, 364
flags, 364
format strings, 148
l modifier, 363
precision specifier, 364

printf() function 921

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

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

Free download pdf