typedef struct
{
int _i;
int _j;
} _foo_t;
_foo_t _a_foo = {1, 2};
_t is mostly for type defined by typedef and old code doesn't use this convention. _ is mostly for internal C runtime functions or non-standard compliant functions.
Any way it's just naming convention -- kind of guildlines only.
是這樣的嗎:)
所有跟帖:
• 我個人理解是C++因為CLASS裏有個同名的METHOD的話 -電腦民工- ♂ (338 bytes) () 11/09/2005 postreply 20:49:34