error C2065: 'Maxsize' : undeclared identifier C:\practice\1.cpp(81) : error C2061: syntax error : identifier 'Elemtype'
时间: 2024-05-24 08:11:34 浏览: 188
arp error C2065
These errors suggest that the compiler cannot find the declaration of the variables or identifiers "Maxsize" and "Elemtype" in the code.
To fix the error C2065, you need to declare the variable "Maxsize" before using it in the code. For example:
int Maxsize = 10;
To fix the error C2061, you need to declare the type "Elemtype" before using it in the code. For example:
typedef int Elemtype;
Or, you can use a built-in type like int or double instead of "Elemtype" in your code.
阅读全文