Originally Posted by
rcgldr
Looking at the original post code, first fix line 11 by putting typedef before the word struct. The the code shows an array 100 COMPANY's, each with a primary list pointer to the employee structure, and only a single pointer for a list sorted by antig (? what does this stand for). The code does not show where INS_LISTS_EMP is getting the employee data from. Is there a file that your'e supposed to read this data from? Assuming that you've completed the first function and that the COMPANY array is now setup, the next step is to get employee nodes from the company list, one a at a time, and then insert them in sorted order, using the list pointer LPA as the starting pointer to nodes sorted by antig.