Why did Win32 define BOOL as a signed int instead of an unsigned int?

  • Post author:
  • Post category:
  • Post comments:0 Comments
  • Post last modified:October 31, 2011

Why did Win32 define BOOL as a signed int instead of an unsigned int?:

WIN32 헤더 파일에 BOOL 을 unsigned int가 아닌 int로 정의한 이유가 뭐냐고 물으니 답변이 이렇다.

C 를 만든 브라이언과 대니스가 그렇게 정의했으니 내게 따지지 말고 그들에게 물어봐라

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.