struct forcePin {
char _name[512];
};
struct forcePin *_forcePin[500000];
_forcePin[i] = (struct forcePin *) malloc (sizeof (struct forcePin));
我可以知道如下所示的行在做什么吗?
_forcePin[i] = (struct forcePin *) malloc (sizeof (struct forcePin));
我对c不熟悉,如果你能告诉我如何使这一行也成为C++格式。谢谢