Carmen Sei
2008-04-17 01:23:10 UTC
I found in C++ a type is typedef several times and alot of time, I
need to dig further to see the original type.
like LPDWORD - it's a strange type, but when i dig further, i see it's
a (DWORD *)
===========
typedef DWORD near *PDWORD;
typedef DWORD far *LPDWORD;
===========
i feel that creating new type in C++ by using "typedef" is similar to
inheritance in Java -
where alot of time I need to dig further to found the "PARENT" type of
an object hierarchy.
need to dig further to see the original type.
like LPDWORD - it's a strange type, but when i dig further, i see it's
a (DWORD *)
===========
typedef DWORD near *PDWORD;
typedef DWORD far *LPDWORD;
===========
i feel that creating new type in C++ by using "typedef" is similar to
inheritance in Java -
where alot of time I need to dig further to found the "PARENT" type of
an object hierarchy.