关于vc下list.h的问题
写链表操作,引入include "list.h",结果引发一大堆错误,提示如下:
c:\microsoft visual studio\vc98\include\list.h(37) : error C2061: syntax error : identifier 'DWORD'
c:\microsoft visual studio\vc98\include\list.h(38) : error C2059: syntax error : '}'
c:\microsoft visual studio\vc98\include\list.h(40) : error C2143: syntax error : missing '{' before '*'
c:\microsoft visual studio\vc98\include\list.h(53) : error C2061: syntax error : identifier 'GetPrevLink'
c:\microsoft visual studio\vc98\include\list.h(53) : error C2059: syntax error : ';'
c:\microsoft visual studio\vc98\include\list.h(53) : error C2059: syntax error : 'type'
c:\microsoft visual studio\vc98\include\list.h(58) : error C2061: syntax error : identifier 'GetNextLink'
c:\microsoft visual studio\vc98\include\list.h(58) : error C2059: syntax error : ';'
c:\microsoft visual studio\vc98\include\list.h(58) : error C2059: syntax error : 'type'
c:\microsoft visual studio\vc98\include\list.h(63) : error C2061: syntax error : identifier 'GetHeadOfList'
c:\microsoft visual studio\vc98\include\list.h(63) : error C2059: syntax error : ';'
c:\microsoft visual studio\vc98\include\list.h(63) : error C2146: syntax error : missing ')' before identifier 'List'
c:\microsoft visual studio\vc98\include\list.h(63) : error C2061: syntax error : identifier 'List'
c:\microsoft visual studio\vc98\include\list.h(63) : error C2059: syntax error : ')'
c:\microsoft visual studio\vc98\include\list.h(64) : error C2449: found '{' at file scope (missing function header?)
c:\microsoft visual studio\vc98\include\list.h(66) : error C2059: syntax error : '}'
c:\microsoft visual studio\vc98\include\list.h(73) : error C2061: syntax error : identifier 'WINAPI'
c:\microsoft visual studio\vc98\include\list.h(73) : error C2059: syntax error : ';'
c:\microsoft visual studio\vc98\include\list.h(73) : error C2146: syntax error : missing ')' before identifier 'List'
c:\microsoft visual studio\vc98\include\list.h(73) : error C2061: syntax error : identifier 'List'
c:\microsoft visual studio\vc98\include\list.h(73) : error C2059: syntax error : ';'
c:\microsoft visual studio\vc98\include\list.h(73) : error C2059: syntax error : ')'
c:\microsoft visual studio\vc98\include\list.h(74) : error C2449: found '{' at file scope (missing function header?)
c:\microsoft visual studio\vc98\include\list.h(76) : error C2059: syntax error : '}'
c:\microsoft visual studio\vc98\include\list.h(103) : error C2061: syntax error : identifier 'WINAPI'
c:\microsoft visual studio\vc98\include\list.h(103) : error C2059: syntax error : ';'
c:\microsoft visual studio\vc98\include\list.h(128) : error C2061: syntax error : identifier 'AddToList'
c:\microsoft visual studio\vc98\include\list.h(128) : error C2059: syntax error : ';'
c:\microsoft visual studio\vc98\include\list.h(128) : error C2146: syntax error : missing ')' before identifier 'List'
c:\microsoft visual studio\vc98\include\list.h(128) : error C2061: syntax error : identifier 'List'
c:\microsoft visual studio\vc98\include\list.h(128) : error C2059: syntax error : ','
c:\microsoft visual studio\vc98\include\list.h(128) : error C2059: syntax error : ')'
c:\microsoft visual studio\vc98\include\list.h(203) : error C2061: syntax error : identifier 'DeleteFromList'
c:\microsoft visual studio\vc98\include\list.h(203) : error C2059: syntax error : ';'
c:\microsoft visual studio\vc98\include\list.h(203) : error C2146: syntax error : missing ')' before identifier 'List'
c:\microsoft visual studio\vc98\include\list.h(203) : error C2061: syntax error : identifier 'List'
c:\microsoft visual studio\vc98\include\list.h(203) : error C2059: syntax error : ','
c:\microsoft visual studio\vc98\include\list.h(203) : error C2059: syntax error : ')'
c:\microsoft visual studio\vc98\include\list.h(268) : error C2061: syntax error : identifier 'AddToFrontOfList'
c:\microsoft visual studio\vc98\include\list.h(268) : error C2059: syntax error : ';'
c:\microsoft visual studio\vc98\include\list.h(268) : error C2146: syntax error : missing ')' before identifier 'List'
c:\microsoft visual studio\vc98\include\list.h(268) : error C2061: syntax error : identifier 'List'
c:\microsoft visual studio\vc98\include\list.h(268) : error C2059: syntax error : ','
c:\microsoft visual studio\vc98\include\list.h(268) : error C2059: syntax error : ')'
c:\microsoft visual studio\vc98\include\list.h(281) : error C2061: syntax error : identifier 'AddToEndOfList'
c:\microsoft visual studio\vc98\include\list.h(281) : error C2059: syntax error : ';'
c:\microsoft visual studio\vc98\include\list.h(281) : error C2146: syntax error : missing ')' before identifier 'List'
c:\microsoft visual studio\vc98\include\list.h(281) : error C2061: syntax error : identifier 'List'
c:\microsoft visual studio\vc98\include\list.h(281) : error C2059: syntax error : ','
c:\microsoft visual studio\vc98\include\list.h(281) : error C2059: syntax error : ')'
c:\microsoft visual studio\vc98\include\list.h(294) : error C2061: syntax error : identifier 'DeleteFromFrontOfList'
c:\microsoft visual studio\vc98\include\list.h(294) : error C2059: syntax error : ';'
c:\microsoft visual studio\vc98\include\list.h(294) : error C2146: syntax error : missing ')' before identifier 'List'
c:\microsoft visual studio\vc98\include\list.h(294) : error C2061: syntax error : identifier 'List'
c:\microsoft visual studio\vc98\include\list.h(294) : error C2059: syntax error : ')'
c:\microsoft visual studio\vc98\include\list.h(295) : error C2449: found '{' at file scope (missing function header?)
c:\microsoft visual studio\vc98\include\list.h(297) : error C2059: syntax error : '}'
c:\microsoft visual studio\myprojects\prj2\1.c(51) : fatal error C1071: unexpected end of file found in comment
Error executing cl.exe.
1.obj - 58 error(s), 0 warning(s)
请问这是什么问题啊,求大神