谢谢大家的反馈! 这是应用修复程序后的解决方案。功能只能工作一次 - C
typedef struct employeeData
{
//....
char* Name[20]; //Char name needed to be defined size. Or use of Malloc in the functions
//...
} employee;
问题,即增加前头部返回崩溃......你
if (addEMP_ID < head->EMP_ID)
{
current->next = head;
head = current; //Required for this scenario
return current;
}
接受解决问题的答案之一。 – 2014-09-21 21:37:13
他们都做到了。我有两个问题,他们每个都修好了。 – user2990336 2014-09-21 22:06:56