Tom Kelliher, CS 320
Jan. 17, 2001
Read Chapter 1 of Angel.
C: Accessing command line arguments, atoi()
and friends, I/O in C.
Creating, compiling, running an OpenGL program.
A queue as a linked list in C --- contrast with Jill. Elements:
struct
s. Self-reference.
malloc()
, free()
, sizeof()
.
Re-write test.c
to allocate nodes
dynamically.
insqu()
and remqu()
to take/return key values
directly.
Problems? (Particularly with free'ed memory in remqu()
, but also
with remqu()
's new user interface.)