In the code below I would like each time to open a file with name input_i where i could be a number that varies for example from 1 to 10. Could you help me on this.
Many thanks
Code:if ((infileX = fopen("input_i", "r"))== NULL) { fprintf(output, "\nCANNOT OPEN INPUT2 FILE\n"); exit(2); }