Newbie: typedef? 
Author Message
 Newbie: typedef?

Hello,

What advantages, if any, are there with:

typedef unsigned char    BYTE

As compared to:

#define BYTE    unsigned char

Thanks in advance.
--Sean



Mon, 30 Jul 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. newbie typedef question

2. newbie typedef question

3. Newbie: complex typedef

4. newbie help with structure/typedef

5. Typedef structs within typedef structs...

6. Typedef structs within typedef structs...

7. To typedef or not to typedef, that is the question

8. What the difference between "typedef struct" and "typedef struct tag_Struct"?

9. When is a typedef name not a typedef name?

10. When is a typedef name not a typedef name?

11. typedef struct tagNAME {} NAME; vs. typedef struct NAME {};

12. VC 7.1 seems to ignore typedef in template

 

 
Powered by phpBB® Forum Software