阅读背景:

将txt文件读入单个链表。并打印列表

来源:互联网 

Hi I'm doing a project for college,in the project I have to populated the linked list with data about employees from a txt file. When I read the file in, it partly populates the linked list. And when I print the nodes it only prints the first set of employee data. There are 18 employee details on the txt file. So there should be 18 nodes printed. I'm At a loss to why it wont, any help greatly appreciated. (I have declared my listHead pointer globally in a header file.) see code belowHi I'm doing a project for college,in the proje




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: