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).