Editors are such mistakes, how to solve"
CodePudding user response:
Const int n=2;CodePudding user response:
Data definition cannot be nChinese is looking forward to a constant expression of expected const expression
The following wording is wrong!
int n;
A double array [n].
Only
Const int n=2;
A double array [n].
Or
Enum
{
MAX_NUM=15,
}
A double array [MAX_NUM];
Or
int n;
N=15;
Double * pArray=new double [n].
CodePudding user response:
See the original poster VC6, feel good kind,Learned in school is less good, less
CodePudding user response:
Thank you very much!!!!! The problem is resolved,