是這樣的嗎:)

來源: 2005-11-09 20:00:20 [舊帖] [給我悄悄話] 本文已被閱讀:

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.