源程序如下内容,请大佬指点一下

#include <iostream.h>
struct NODE
{
int data;
NODE *next;
};
NODE *head = NULL;
int data[6] = {25,41,17,98,5,67};
void InsertList(NODE **head, int aData, int bData);
void DeleteList(NODE **head, int aData);
void OutputList(NODE *head);
void main()
{
for (int i=0; i<6; i++)
InsertList(&head, data[0], data[i]);
OutputList(head);
DeleteList(&head, 98);
DeleteList(&head, 41);
OutputList(head);
}

请各位大侠指教啊

慕盖茨4494581
浏览 61回答 1
1回答

catspeake

就是该标识符没有定义。main.obj : error LNK2019: 无法解析的外部符号 "void __cdecl DeleteList(struct NODE * *,int)" (?DeleteList@@YAXPAPAUNODE@@H@Z),该符号在函数 _main 中被引用main.obj : error LNK2019: 无法解析的外部符号 "void __cdecl OutputList(struct NODE *)" (?OutputList@@YAXPAUNODE@@@Z),该符号在函数 _main 中被引用main.obj : error LNK2019: 无法解析的外部符号 "void __cdecl InsertList(struct NODE * *,int,int)" (?InsertList@@YAXPAPAUNODE@@HH@Z),该符号在函数 _main 中被引用E:\Documents\Visual Studio 2005\Projects\formula\Debug\formula.exe : fatal error LNK1120: 3 个无法解析的外部命令
打开App,查看更多内容
随时随地看视频慕课网APP