下面是个单链表的删除程序,但在vs2010 无法编译通过,求解释。万分感谢。无法打开iostream.h

2025-02-25 09:39:06
推荐回答(3个)
回答1:

首先,确认下你有没有设置预编译!看看有没有stdafx.h文件,如果有的话,就在cpp文件的最上面添加
#include "stdafx.h"

其次,iostream.h你拼写错了,
#include
using namespace std;

回答2:

#include "iostrem"

拼写错了 iostream

回答3:

#include "LinkList.h"下的函数也发过来,如:LinkList_L();LinkListTraverse_L(head);ListDelete_L(head,4,x)) DestroyList_L(head);