我可以free(STRUCTPOINTER->thing1->thing2)
free(STRUCTPOINTER->thing1->thing2)
但我不能做free((*STRUCTPOINTER).(*thing1).thing2) ((令牌之前的预期标识符。对于(*thing1
free((*STRUCTPOINTER).(*thing1).thing2)
我也不能做free((*STRUCTPOINTER).thing1.thing2)错误,(*temporary)->是一个指针,你的意思是使用'->'吗?
free((*STRUCTPOINTER).thing1.thing2)
我习惯于编写代码并引用 (*this).format 中的内容。这对于我想做的事情来说可能吗?
c struct pointers reference data-structures
c ×1
data-structures ×1
pointers ×1
reference ×1
struct ×1