Okay, that is not so good because it should be fairly simple. Here's a simple program that reads the (text) file specified by name on the command line and prints it out:



#include <stdio.h>
...