home *** CD-ROM | disk | FTP | other *** search
-
- char far *Names[ 2000 ]; /* 8000 bytes of storage */
-
- int GetNames( FILE *InFile )
- {
- char StrBuf[ 100 ];
- int Count = 0;
-
- while( fgets( StrBuf, 100, InFile ) != EOF )
- {
- /* save the whole address (4 bytes) */
- Names[ Count++ ] = strdup( StrBuf );
- }
-
- return( Count );
- }