Teaching‎ > ‎CS350 Spring 2009 TF‎ > ‎

2009-04-17

posted Apr 17, 2009, 11:01 AM by Site Admin Role
  • Reading a line and rewinding file pointer in stdio.h; see rrcat.c (round-robin cat) below. Given a list of files in the command line, read a line from each of them in round robin order and continues indefinitely. If a file hits the end of file, rewind to the first line.
  • Basics on extracting bits (see shift.c below).
ċ
rrcat.c
(1k)
Site Admin Role,
Apr 17, 2009, 11:04 AM
ċ
shift.c
(0k)
Site Admin Role,
Apr 17, 2009, 11:04 AM
Comments