C/C++
cprog.txt
Associated article: Doorknob Arguments
Tags: C/C++
Published source code accompanying the article by by Al Stevens in which he examines C++'s argv.
C Programming Column
by Al Stevens
Example 1.
#include <stdio.h>
int main(int argc, char *argv[])
{
int i;
FILE *f;
/* ... */
for (i = 2; i < argc; i++) {
f = fopen(argv[i], "r");
if (f != NULL) {
/* process f */
...


