vc++ error C2064:term does not evaluate to a function#includeint v[10]={15,98,20,30,40,6,45,60,70,10};int L[10]={1,2,3,-1,-1,6,-1,8,-1,-1};int R[10]={5,9,4,-1,-1,-1,7,-1,-1,-1};void main(){\x09int root=0;\x09int x,i,j,k,temp;\x09int sq[100];\x09int s

来源:学生作业帮助网 编辑:作业帮 时间:2024/12/02 06:49:37
vc++ error C2064:term does not evaluate to a function#includeint v[10]={15,98,20,30,40,6,45,60,70,10};int L[10]={1,2,3,-1,-1,6,-1,8,-1,-1};int R[10]={5,9,4,-1,-1,-1,7,-1,-1,-1};void main(){\x09int root=0;\x09int x,i,j,k,temp;\x09int sq[100];\x09int s
xKo@ǿR.2Mi>pk$088!RTCmR*J !^- (ƻ ߂Y;"٫f_g\1[ J:WeDkfMsuD#Ut ۺiXEV % MuV!AaBB ːBAi %XT哒j(B(B cv3]hDwtMV1v4= 0><W8`!e;~P9 mĔ֍)y%If94i.3j> \j0|~:9 Kʂ8ll)/Df̣{+f&2i҈.$QV7xN}]IAg{):H1~Օx?{U;v^C{;O]xr_CŏWX3`*y@|<-.MB*6C<Ž :۟U

vc++ error C2064:term does not evaluate to a function#includeint v[10]={15,98,20,30,40,6,45,60,70,10};int L[10]={1,2,3,-1,-1,6,-1,8,-1,-1};int R[10]={5,9,4,-1,-1,-1,7,-1,-1,-1};void main(){\x09int root=0;\x09int x,i,j,k,temp;\x09int sq[100];\x09int s
vc++ error C2064:term does not evaluate to a function
#include
int v[10]={15,98,20,30,40,6,45,60,70,10};
int L[10]={1,2,3,-1,-1,6,-1,8,-1,-1};
int R[10]={5,9,4,-1,-1,-1,7,-1,-1,-1};
void main()
{
\x09int root=0;
\x09int x,i,j,k,temp;
\x09int sq[100];
\x09int s[100];
\x09int l,r,top;
\x09l=0;r=0;sq[0]=root;
\x09printf("按层次输出:");
\x09while(l

vc++ error C2064:term does not evaluate to a function#includeint v[10]={15,98,20,30,40,6,45,60,70,10};int L[10]={1,2,3,-1,-1,6,-1,8,-1,-1};int R[10]={5,9,4,-1,-1,-1,7,-1,-1,-1};void main(){\x09int root=0;\x09int x,i,j,k,temp;\x09int sq[100];\x09int s
if(R(x)!=-1)sq[++r]=R[x];

其中的R(x)应该改成R[x].因为你的R是个数组对吧.引用数组元素用的是中括号,用小括号那是函数调用.你又没有一个叫R的函数.

希望对你有所帮助