From: June Lee on
what's different between

bool / BOOL
From: June Lee on
in wtypes.h I also see

typedef short SHORT;
typedef double DOUBLE;

why need 2 set of primitive type?

one is upper case, other is lower case?



> what's different between
>
>bool / BOOL
From: Nathan Mates on
In article <53mdv3hjm2q657sejosi6blam1e83ih6b3(a)4ax.com>,
June Lee <iiuu66(a)yahoo.com> wrote:
>>bool / BOOL
>typedef short SHORT;
>typedef double DOUBLE;

>why need 2 set of primitive type?

http://blogs.msdn.com/oldnewthing/archive/2008/03/25/8334558.aspx

Nathan Mates
--
<*> Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein
From: Anders Karlsson on
On Fri, 04 Apr 2008 18:25:45 -0700, June Lee <iiuu66(a)yahoo.com> wrote:

> what's different between
>
> bool / BOOL

BOOL is MS Windows data type as defined in windows.h

bool is a C++ data type


--
A: People bitching about top-posting

> Q: What's the most annoying thing on USENET?
From: June Lee on
for writing windows program i should use all BOOL?

for writing c++ program (non windows) i should use all bool?


>BOOL is MS Windows data type as defined in windows.h
>
>bool is a C++ data type
 |  Next  |  Last
Pages: 1 2
Prev: pointer vs reference
Next: coding style