Sams Teach Yourself C in 21 Days

(singke) #1
strupr(), 501
system(), 330-332
command argument, 331
tan(), 534
tanh(), 535
third(), 114
time
calculating differences, 541
converting representations, 538
displaying, 539
example, 541-543
obtaining current, 538
representing, 537
ungetc(), 347, 509
user-defined, 97
variables, 99-100
void pointers, 520-523
void return type, 116
writing, 105
arguments, 106-108
body, 108-113
headers, 105-108
local variables, 108-110
names, 106
parameters, 106-108
prototypes, 113
return types, 105
returning values, 111-113
statements, 110-111
fwrite() function, 452

G

garbage values, 291
GCC compiler, 12
getc() function, 346
file I/O, 450

getch() function, 344-346
getchar() function, 185, 342-344
getche() function, 346
gets() function, 237-241, 347-348
get_int() function, 509
get_menu_choice() function, 152
global variables, 110
global variables. Seeexternal variables
goto statement, 314-316
grades.c, 182
graphical environments, compiling, 13
graphics
Java. SeeAW T
screen coordinates, structures, 250
greater than operator ([gt]), 72
greater than or equal to operator (>=), 72

H

half() function, 114
half_of() function, 115
head pointers, 417-418
header files
#include directive, 606
ANSI standard, 820
CTYPE.H, 813
errno.h, 546
float.h, constants, 805-806
limits.h, constants, 804-805
multiple inclusions, 609
headers
functions, 100
iostream.h, 650
modular programming, 594
modules, 597
of functions, 101
writing, 105-108
stdio.h, 151

908 functions

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

Free download pdf