出错代码行如下:
real c1
!申明变量和常数
c1=(3+sqrt(3))/6;
报错:
error #6404:This name does not have a type,and must have an explicit type.[SQRT]
解决:
把代码行变为c1=(3+sqrt(3.0))/6; 成功
出错代码行如下:
real c1
!申明变量和常数
c1=(3+sqrt(3))/6;
报错:
error #6404:This name does not have a type,and must have an explicit type.[SQRT]
解决:
把代码行变为c1=(3+sqrt(3.0))/6; 成功