【发布时间】:2014-09-21 19:48:51
【问题描述】:
感谢大家的反馈! 这是应用修复后的解决方案。
typedef struct employeeData
{
//....
char* Name[20]; //Char name needed to be defined size. Or use of Malloc in the functions
//...
} employee;
在 head 之前添加返回崩溃的问题...
if (addEMP_ID < head->EMP_ID)
{
current->next = head;
head = current; //Required for this scenario
return current;
}
【问题讨论】:
-
接受解决您问题的答案之一。
-
他们都做到了。我遇到了 2 个问题,他们各自解决了一个问题。
标签: c list function hyperlink linked-list