Logo  

CS256 - Fundamentals of Structured Programming

Displaying exercises/e9/files/f1.c

#include <stdio.h>

#define K	1024

/**
 * Make a program that takes a filename from the command line, or print the
 * usage message: "Usage: f1 <filename>\n" if it's absent.
 * Open the file and print it out with a leading line number padded to three
 * spaces.  Hint: It would probably be easiest to use fgets to read each line
 * of input from the file.
 */
int main(int argc, char *argv[])
{


  return 0;
}