![]() |
#2
apull2021-12-05 00:51
|
是哈夫曼树建立,编码和编译。
这一块代码:
for (int i=0;i<18;i++){
int j=Locate (L,c[i]);这一行报错
if(j>0){
L.A[j].num=1;
L.count++;
}
}
错误为:error:'c' was not declared in this scope