由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Why this associated pointer cannot be deallocated?
相关主题
请教一个const pointer的问题[合集] pointer in C
c或者c++中变量保存在什么地方怎么看呢?pointer overflow
C++ deleteabout STL functor and function pointers
Why do I need to use "plain" pointer?what's the purpose of pointer to pointers?
一个简单的小问题C++ Q05: pointer to constant variable
请问可以这样定义struct吗?find start point of loop from linked list
how to do it ?=======Problem – coding in c++C++ Q93 - Q95 (转载)
is smart_ptr really that good?c++ pointers are iterators, why?
相关话题的讨论汇总
话题: cplk话题: pointer话题: type话题: cptr话题: associated
进入Programming版参与讨论
1 (共1页)
F********E
发帖数: 1025
1
Hi,
I have the following fortran90 code:
**********************************************
TYPE :: CPLK
REAL(8), DIMENSION(:), POINTER :: CP
TYPE(CPLK),POINTER :: NEXT
END TYPE CPLK
...
allocate CPLK linked list
let CPTR point to the last link
...
IF ( ASSOCIATED (CPTR) ) THEN
WRITE(OUTU,*)' deallocate this layer'
DEALLOCATE(CPTR)
ENDIF
***********************************************
Execuation o
1 (共1页)
进入Programming版参与讨论
相关主题
c++ pointers are iterators, why?一个简单的小问题
int F::*x = &F::x是什么意思?请问可以这样定义struct吗?
c++ 里用到pointer 的地方我们尽可能用smart pointer吗? how to do it ?=======Problem – coding in c++
不如各位高手挑个专题讲讲C++11吧is smart_ptr really that good?
请教一个const pointer的问题[合集] pointer in C
c或者c++中变量保存在什么地方怎么看呢?pointer overflow
C++ deleteabout STL functor and function pointers
Why do I need to use "plain" pointer?what's the purpose of pointer to pointers?
相关话题的讨论汇总
话题: cplk话题: pointer话题: type话题: cptr话题: associated