|
Prev: pointer vs reference
Next: coding style
From: June Lee on 4 Apr 2008 21:25 what's different between bool / BOOL
From: June Lee on 4 Apr 2008 21:39 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 4 Apr 2008 22:39 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 5 Apr 2008 09:14 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 6 Apr 2008 05:47
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 |