|
即使是C++对于static也有两种解释
- Static or thread storage duration and internal linkage
- Declares a static data member or member function
前者的话,用module封装parameter变量就行
对于Fortran面向对象编程,请参考下面两个开源项目,能吃透任意一个,恭喜lz的fortran编程功力已经跻身中国大陆地区的前5%行列
szaghi/FLAP: Fortran command Line Arguments Parser for poor people
https://github.com/szaghi/FLAP
wavebitscientific/functional-fortran: Functional programming for modern Fortran
https://github.com/wavebitscientific/functional-fortran
|
|