我的C指针技术有点生疏,所以我需要一些帮助。,函数作为指针传递。我在VS代码中得到以下错误消息:pointer to incomplete class type is not allowed。long int *functionName(struct ImportedStruct *structName, int *irrelevant){ int height = st
我有一个指针&两个不同的结构。第一个结构有一个空*指针的成员。现在,我需要使用前一个指向第一个结构的指针来访问第二个结构的成员。struct a {}
int info;我需要做一些类似的事情:
ptr->ptrxx->info;但我必须进行某种类型转换,才能让C知道ptr->ptrxx是指向struct b的指针</e