Lecture 27: November 27, 2019
Due
: Homework #5, due December 6, 2019
Greetings and felicitations!
More C library functions
More string functions (
strchr
,
strrchr
,
strstr
,
strtok
) [
mem.c
]
Moving data around memory (
memcpy
,
memcmp
) [
mem.c
]
Math library (
ceil
,
floor
,
fabs
,
log
,
log10
,
exp
,
pow
,
fmod
,
modf
, trigonometric functions,
sqrt
,
isnan
) [
mhodge.c
]
gdb
dyngets
– find the two bugs
Basic
gdb
commands
backtrace (bt)
print (p)
breakpoint (b)
continue (c)
run (r)
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email:
[email protected]
ECS 36A, Programming and Problem Solving
Version of December 7, 2019 at 11:55PM
You can also obtain a PDF version of this.