"request for member `ccontent' in something not a structure or union",这个错误为何出现?
一个编译时候的错误:"request for member `ccontent' in something not a structure or union"。
ccontent是以下结构体当中的一个field:
typedef struct _MMSDocument
{
MMSContentList *ccontent;/* current content in body */
MMSHead *mmshead;/* head of mm */
MMSContentList *content;/* content list in body */
}MMSDocument;
而MMSContentList明明是我定义的又一个结构体。
------------------------------------