Sams Teach Yourself C in 21 Days

(singke) #1
strchr(), 495
strcmp, 491
strcpy, arrays of structures, 261
strcpy(), 483
strcspn(), 496
strdup(), 486
strftime(), 539
strlen(), 482
strlwr(), 501
strncat(), 489
strncmp, 493
strncpy(), 485
strnset(), 502
strpbrk(), 499
strrchr(), 496
strrev(), 502
strset(), 502
strspn(), 498
strstr(), 499
strupr(), 501
tan(), 534
tanh(), 535
time
calculating differences, 541
converting representations, 538
displaying, 539
example, 541-543
obtaining current, 538
representing, 537
ungetc(), 509
limits.h header file, constants, 804-805
__LINE__ constant, 817
__LINE__ macro, 611
line-input functions, 347
linked lists, 416-417
adding elements to beginning, 418, 420
adding elements to empty linked lists, 419
adding elements to end, 420-421
adding elements to existing lists, 419
adding elements to middle, 421-422

adding links, 418
deleting elements, 422-423, 434
deleting links, 418
example, 423-426
FreeMem() function, 573
head pointers, 417
implementing, 426-433
modifying links, 418
types, 416
linker errors, 19
linker programs, 13
linking, 13-14
links, 417
Linux, 11-12
listings
ANSI-defined constants, 808
AppletTest.java sample program, 761-763
array element addresses, displaying, 204-205
arrays
expenses.c, 178
grades.c, 182
size of operator, 189
arrays of pointers
initializing char type, 399
passing to function, 400
sorting keyboard input, 402-403
arrays of structures, 261-262
break statement, 310
building base classes, 690-691
C# program, 773
C++
accessing member functions, 680
add function with time structure, 668
constructors/destructors, 684
cout keyword, 651
declaring variables, 653
default function parameter values, 656
Hello World program, 650
inline functions, 659-660

listings 913

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

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

Free download pdf