使用//进行链接
没有找到转义符号
program ex04_01
character(len=30) a,b,c
a = "Have a good time."
b = "That's not bad"
c = '"Mary"'//" isn't my name"
write(*,*) a,b,c
end
code
使用//进行链接
没有找到转义符号
program ex04_01
character(len=30) a,b,c
a = "Have a good time."
b = "That's not bad"
c = '"Mary"'//" isn't my name"
write(*,*) a,b,c
end
code
本文标题:Fortran 字符串 输出单引号和双引号
本文链接:https://www.haomeiwen.com/subject/zhhmxftx.html
网友评论