调试简单的c代码,双链表副本。 [我的文件在这里(链接已删除)] 我的复制功能不会复制整个列表。 按照@Mat的要求,这里是\\“ copy \\”函数,但是您仍然需要阅读文件的其余部分以了解我的结构。 Line copyLineText(Line l){ Line newl = malloc (sizeof( struct node )); checkMalloc(newl,\\\"copyLineText\\\"); newl->length = l->

已邀请:

要回复问题请先登录注册