At least, in Fortran you can choose to use a "mm" or a "dd" without declaring them. Is what you want a "real" mm? If yes, you have to declare her. Otherwise, you don't. In C, you have to declare everything beforehand no matter what you want is a "mm" or "dd"
【在 h***o 的大作中提到】 : 那是不是就跟c一样了?每个变量都要先定义?
a*x
10 楼
Haha
【在 h***o 的大作中提到】 : in fortran.... : 今天debug了半天,大部分都这个错误。sigh...
s*r
11 楼
real 不好,我多半用real*8的
【在 h***o 的大作中提到】 : in fortran.... : 今天debug了半天,大部分都这个错误。sigh...