【发布时间】:2013-11-05 23:26:27
【问题描述】:
我有:
typedef struct table {
int size;
} Table;
所以我有一个方法的参数:
Table **table
但是当我这样做时:
table->size = 5;
或者:
*table->size = 5;
它不起作用,我的标志给了我错误:在不是结构或联合的东西中请求成员“大小”
请帮忙。
【问题讨论】:
-
不,我需要 Table **table 作为这个项目的参数参数
标签: c data-structures struct dereference