11
/* This routine checks the number of arguments. If thats OK, the
12
only arguemnt is the input data file. The output data file name is
13
got by adding '.out' to the input data file name. */
14
char *get_data_filenames(int optind, char **argv, char *input)
17
output=string(0L,100L);
18
strcpy(input, argv[optind]);
19
strcpy(output, argv[optind]);
20
strcat(output,".out");
25
fprintf(stderr,"Errno =%d in get_data_filenames() of getfiles.c\n", errno);