Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
boolean
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
June Lee
#1
boolean
Apr 5 '08, 01:35 AM
what's different between
bool / BOOL
June Lee
#2
Apr 5 '08, 01:45 AM
Re: boolean
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
Comment
Post
Cancel
Default User
#3
Apr 5 '08, 02:25 AM
Re: boolean
June Lee wrote:
what's different between
>
bool / BOOL
Get a decent book on C++. Stop trying to learn by reading outdated
headers.
Brian
Comment
Post
Cancel
Ron Natalie
#4
Apr 5 '08, 02:25 AM
Re: boolean
June Lee wrote:
what's different between
>
bool / BOOL
>
bool is a C++ type.
BOOL is just an identifier. Some implementations might
define it to something.
Comment
Post
Cancel
Ron Natalie
#5
Apr 5 '08, 02:25 AM
Re: boolean
June Lee wrote:
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
The typedef makes SHORT a synonym for SHORT.
You'll have to ask whoever made those typedefs
why they thought it was necessary.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment