| 查看: 1570 | 回复: 10 | ||
superstat54木虫 (小有名气)
|
[求助]
Fortran 怎么把字符串转换为表达式
|
| 比如从文件中读入这样一串字符 "100 + x*x"复制给a,"sin(x)"赋值给b,如果程序中x=0.5,怎么在程序中把这一串字符"a + b"转换为表达式100 + x*x + sin(x) ,并求出其值? |
» 猜你喜欢
请问有评职称,把科研教学业绩算分排序的高校吗
已经有6人回复
2025冷门绝学什么时候出结果
已经有6人回复
Bioresource Technology期刊,第一次返修的时候被退回好几次了
已经有7人回复
真诚求助:手里的省社科项目结项要求主持人一篇中文核心,有什么渠道能发核心吗
已经有8人回复
寻求一种能扛住强氧化性腐蚀性的容器密封件
已经有5人回复
请问哪里可以有青B申请的本子可以借鉴一下。
已经有4人回复
请问下大家为什么这个铃木偶联几乎不反应呢
已经有5人回复
天津工业大学郑柳春团队欢迎化学化工、高分子化学或有机合成方向的博士生和硕士生加入
已经有4人回复
康复大学泰山学者周祺惠团队招收博士研究生
已经有6人回复
AI论文写作工具:是科研加速器还是学术作弊器?
已经有3人回复
» 本主题相关价值贴推荐,对您同样有帮助:
怎么读取文本数据
已经有3人回复
Matlab 7.0 基础教程 清华大学
已经有29人回复
求教matlab中 读取文件名时去掉小数点的程序
已经有10人回复
fortran 程序文件名为变量 求救
已经有3人回复
关于C++中读取txt文件中字符串
已经有6人回复
C/C++开发专家:Visual C++代码参考与技巧大全
已经有89人回复
fortran中函数string(i:i)表示什么意思,trim()表示什么意思
已经有4人回复
fortran符号运算
已经有11人回复
fortran,带字符的数据读取与存储!
已经有11人回复
fortran中如何处理字符和数据混合的文件
已经有6人回复
一个华为编程大赛题
已经有16人回复
Python核心编程第二版【中文经典教程】
已经有377人回复
lurencyj
木虫 (著名写手)
- 应助: 159 (高中生)
- 金币: 2869.2
- 散金: 520
- 红花: 8
- 沙发: 10
- 帖子: 1244
- 在线: 148.3小时
- 虫号: 888093
- 注册: 2009-10-29
- 性别: GG
- 专业: 凝聚态物性I:结构、力学和

2楼2012-03-19 21:34:52
superstat54
木虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 3809.1
- 散金: 136
- 红花: 10
- 帖子: 256
- 在线: 146.8小时
- 虫号: 1327326
- 注册: 2011-06-20
- 专业: 催化化学
3楼2012-03-19 21:38:46
lurencyj
木虫 (著名写手)
- 应助: 159 (高中生)
- 金币: 2869.2
- 散金: 520
- 红花: 8
- 沙发: 10
- 帖子: 1244
- 在线: 148.3小时
- 虫号: 888093
- 注册: 2009-10-29
- 性别: GG
- 专业: 凝聚态物性I:结构、力学和
【答案】应助回帖
★
jjdg: 金币+1, 感谢参与 2012-03-21 01:43:23
jjdg: 金币+1, 感谢参与 2012-03-21 01:43:23
|
The USE statement has the syntax USE environment-name,filename where filename is optional, and is a character-valued expression. It causes the text of the named environment to be, in effect, placed in the program at the point where the USE statement was encountered, and the programs whose object code is in the environment to be callable from the program in which the USE statement is found, as well as (less usefully) from any other programs loaded into memory at the same time. In some implementations, because ENVIRONMENTs are incompatible with the available linkage loading mechanisms, the filename may be compulsory the first time a USE statement referring to environments in a given file is encountered, but not in subroutines, even externally compiled subroutines, later in the source stream. |

4楼2012-03-19 21:41:09
superstat54
木虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 3809.1
- 散金: 136
- 红花: 10
- 帖子: 256
- 在线: 146.8小时
- 虫号: 1327326
- 注册: 2011-06-20
- 专业: 催化化学
5楼2012-03-19 21:50:35
lurencyj
木虫 (著名写手)
- 应助: 159 (高中生)
- 金币: 2869.2
- 散金: 520
- 红花: 8
- 沙发: 10
- 帖子: 1244
- 在线: 148.3小时
- 虫号: 888093
- 注册: 2009-10-29
- 性别: GG
- 专业: 凝聚态物性I:结构、力学和

6楼2012-03-19 21:53:48
7楼2012-03-20 14:27:28
superstat54
木虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 3809.1
- 散金: 136
- 红花: 10
- 帖子: 256
- 在线: 146.8小时
- 虫号: 1327326
- 注册: 2011-06-20
- 专业: 催化化学
8楼2012-03-20 15:33:17
锐利的碎片
木虫 (正式写手)
star watcher
- 应助: 136 (高中生)
- 金币: 3637.1
- 散金: 252
- 红花: 22
- 帖子: 988
- 在线: 1224.9小时
- 虫号: 961933
- 注册: 2010-03-05
- 专业: 凝聚态物性 II :电子结构
9楼2012-03-20 18:33:57
10楼2012-03-20 21:09:09













回复此楼