CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: char vs CHAR

Threaded View

  1. #2
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    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
  •  





Click Here to Expand Forum to Full Width

Featured