Programming in C

(Barry) #1
grep utility 523

strncat( ), 471
strncmp( ), 471
strncpy( ), 471
strrchr( ), 471
strstr( ), 471-472
strtod( ), 480
strtol( ), 480
strtoul( ), 481
structures, 171-174, 177
system( ), 491
tan( ), 487
tanh( ), 487
tgamma( ), 487
time_update( ), 178-180, 183
tmpfile( ), 478
tolower( ), 473
toupper( ), 473
trunc( ), 487
ungetc( ), 478
utility functions, 490-491
fwrite( ) function, 477

G
gcc compiler, command-line options,
493-495
gcc Web site, 493, 502
gdb tool, debugging with, 395-398
backtrace command, 405
break command, 400, 409
breakpoint deletion, 404-405
clear command, 409
function calls, 405-406
help command, 406-408
info break command, 404-405
info source command, 409
inserting breakpoints, 400
list command, 399-400, 409
miscellaneous features, 408
next command, 409
print command, 409

program execution controls, 400
quit command, 409
run command, 400, 409
session example, 402-404
set var command, 398-399, 409
single stepping, 401-404
stacktrace retrieval, 405
step command, 401-404, 409
viewing source files, 399-400
Generating a Table of Prime Numbers
(Program 6.10), 87-90
Generating a Table of Triangular
Numbers (Program 5.3), 47-50
Generating Fibonacci Numbers
(Program 7.3), 103-104
Generating Fibonacci Numbers Using
Va riable-Length Arrays (Program
7.8), 115-117
get_number_and_base( ) function, 152
getc( ) function, 365, 477
getchar( ) function, 208-210, 348, 477
getenv( ) function, 490
gets( ) function, 209-212, 477
getter methods (OOP), 417
global variables
default initial values, 155
functions, 152-156
GNU C compiler, 12
GNU.org Web site, command-line
tools, 504
Google Groups Web site, 502
goto statement
C language specifications, 458
execution of, 373
labels, 373
programming abuse, 374
greater than or equal to (>=)
operator, 46-50
grep utility, programming
functionality, 345

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

25 0672326663 index 6/10/04 2:04 PM Page 523

Free download pdf