|
-
March 1st, 2008, 09:13 PM
#2
Re: char vs CHAR
windows.h does things like that all the time. Smile and nod.
I'm sure someone thought at one time that it might be a good idea, and ever since then that's been Just The Way It Is.
Also, using such typedefs would theoretically allow code to survive changes to the underlying language (such as how large a char is), simply be altering the typedef. However, since Microsoft wrote the most common Windows compiler, and has no interest in porting Windows to other systems, this seems like needless effort.
Last edited by Lindley; March 1st, 2008 at 09:16 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|