The program uses fscanf in place of scanf, and fprintf in
place of printf. Both of these functions take an additional argument.
Notice that we are using stdin as the first argument to fscanf, and
stdout as the first argument to fprintf.
Return to lesson.
Joseph L. Zachary
Department of Computer Science
University of Utah