So if I am parsing arguments passed in the command line of C,say I have already completed parsing flags and now need to parsefiles.
If I have a structure that is a name and a file pointer, how doI associate a name and file pointer for each file argument passedin argv? Essentially how do I make an array of tuple values, suchthat each file has a name, file pointer and the array is simply allof these structures?
Answer