这个程序是数据结构中线性表得顺序存储结构得查找算法!
在C++上调试的时候 有些错误,不会改.....所以 麻烦高手啦!!
--------------------Configuration: 查找运算 - Win32 Debug--------------------
Compiling...
查找运算.cpp
D:\个人文件夹\课堂\C语言\查找运算.cpp(10) : error C2109: subscript requires array or pointer type
D:\个人文件夹\课堂\C语言\查找运算.cpp(12) : error C2143: syntax error : missing ';' before 'return'
D:\个人文件夹\课堂\C语言\查找运算.cpp(17) : error C2039: 'elem' : is not a member of 'sqlist'
D:\个人文件夹\课堂\C语言\查找运算.cpp(3) : see declaration of 'sqlist'
D:\个人文件夹\课堂\C语言\查找运算.cpp(17) : error C2039: 'elem' : is not a member of 'sqlist'
D:\个人文件夹\课堂\C语言\查找运算.cpp(3) : see declaration of 'sqlist'
D:\个人文件夹\课堂\C语言\查找运算.cpp(17) : error C2039: 'elem' : is not a member of 'sqlist'
D:\个人文件夹\课堂\C语言\查找运算.cpp(3) : see declaration of 'sqlist'
D:\个人文件夹\课堂\C语言\查找运算.cpp(17) : error C2039: 'elen' : is not a member of 'sqlist'
D:\个人文件夹\课堂\C语言\查找运算.cpp(3) : see declaration of 'sqlist'
D:\个人文件夹\课堂\C语言\查找运算.cpp(17) : error C2039: 'elen' : is not a member of 'sqlist'
D:\个人文件夹\课堂\C语言\查找运算.cpp(3) : see declaration of 'sqlist'
D:\个人文件夹\课堂\C语言\查找运算.cpp(17) : error C2109: subscript requires array or pointer type
D:\个人文件夹\课堂\C语言\查找运算.cpp(18) : error C2143: syntax error : missing ';' before '=='
D:\个人文件夹\课堂\C语言\查找运算.cpp(18) : error C2143: syntax error : missing ';' before '=='
执行 cl.exe 时出错.
查找运算.obj - 1 error(s), 0 warning(s)