农村外出务工人员
712
4
0
大师
Program www_fcode_cn use , intrinsic :: ISO_C_Binding Implicit None Real , target :: p( 3 , 3 ) integer :: ii=2 , iblock=1 , jj=1 , num=3 type(c_ptr),pointer::c_array(:) Allocate( c_array(5)) c_array(num)=c_loc(p(ii-iblock,jj)) write(*,*) 'OK' End Program www_fcode_cn
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
颁发给注册后积极发言的新人
颁发给为Fcode网站捐赠的网友
颁发给发帖量超过一定数量的坛友
颁发给论坛注册3年以上的网友
颁发给论坛热心帮助他人的网友
捐赠本站|Archiver|关于我们 About Us|小黑屋|Fcode ( 京ICP备18005632-2号 )
GMT+8, 2024-5-19 11:57
Powered by Tencent X3.4
© 2013-2024 Tencent