deutsch@jplgodo.UUCP (Michael Deutsch ) (07/04/87)
I am trying to solve a problem that has several arrays declared in various files that will be linked into one program. Before run-time the program does not know the names of these arrays; however during the initialization it will pick up all the names from an input file. In the process of execution the program will try to display the content of each of the array where each array is declared as: char *ar_1[] = { "ajskfasjfalsjflajsldjasldfkj", "jjjjjjjjjjjjjjj", "kkkkkkkkkkkkkkkkkk", : : ""}; Therefore the program needs to find the address of each of these arrays after it determines the name of the array. I am somewhat rusty on this stuff and all my C books have been borrowed for good, so if you have done this exercise before you might be able to E-mail a few lines that show correct variable declaration along with the necessary assignment statement and the pointer incrementing syntax for the pointer variable so that each line in the array can be read as a character string. Your time and help are greatly appreciated. Since I do not read all E-mail messages please address all the solutions directly to me. Thanks. Michael D.