Click here to Skip to main content
15,902,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhat's the point of BOOL? Pin
Abin2-Sep-03 2:03
Abin2-Sep-03 2:03 
AnswerRe: What's the point of BOOL? Pin
Jonas Larsson2-Sep-03 2:26
Jonas Larsson2-Sep-03 2:26 
AnswerRe: What's the point of BOOL? Pin
jason992-Sep-03 2:29
jason992-Sep-03 2:29 
AnswerRe: What's the point of BOOL? Pin
Brad Sokol2-Sep-03 2:34
Brad Sokol2-Sep-03 2:34 
AnswerRe: What's the point of BOOL? Pin
John M. Drescher2-Sep-03 4:05
John M. Drescher2-Sep-03 4:05 
AnswerRe: What's the point of BOOL? Pin
John M. Drescher2-Sep-03 4:16
John M. Drescher2-Sep-03 4:16 
AnswerRe: What's the point of BOOL? Pin
Xiangyang Liu 刘向阳2-Sep-03 5:27
Xiangyang Liu 刘向阳2-Sep-03 5:27 
AnswerRe: What's the point of BOOL? Pin
Terry O'Nolley2-Sep-03 7:22
Terry O'Nolley2-Sep-03 7:22 
=[ Abin ]= wrote:
in stardard C we use bool for the "true-or-false" value

Before I started C++ programming in the mid 90's, c did not have a bool type.
One of the first things I did in every program was typedef bool or #define TRUE=1 FALSE=0










GeneralC++ Question. Pin
WREY2-Sep-03 0:59
WREY2-Sep-03 0:59 
GeneralRe: C++ Question. Pin
Neville Franks2-Sep-03 2:25
Neville Franks2-Sep-03 2:25 
GeneralRe: C++ Question. Pin
WREY2-Sep-03 8:47
WREY2-Sep-03 8:47 
GeneralRe: C++ Question. Pin
Alexandru Savescu2-Sep-03 3:19
Alexandru Savescu2-Sep-03 3:19 
GeneralRe: C++ Question. Pin
WREY2-Sep-03 9:01
WREY2-Sep-03 9:01 
GeneralRe: C++ Question. Pin
Xiangyang Liu 刘向阳2-Sep-03 12:46
Xiangyang Liu 刘向阳2-Sep-03 12:46 
GeneralThanks for the solution!! Pin
WREY2-Sep-03 14:03
WREY2-Sep-03 14:03 
GeneralX-button Pin
JensB1-Sep-03 23:08
JensB1-Sep-03 23:08 
GeneralRe: X-button Pin
Jason Henderson2-Sep-03 3:08
Jason Henderson2-Sep-03 3:08 
GeneralRe: X-button Pin
JensB2-Sep-03 3:18
JensB2-Sep-03 3:18 
GeneralRe: X-button Pin
Jason Henderson2-Sep-03 3:47
Jason Henderson2-Sep-03 3:47 
GeneralRe: X-button Pin
JensB2-Sep-03 3:54
JensB2-Sep-03 3:54 
Generalwininet & ssl trouble Pin
Cristian Traum1-Sep-03 21:50
Cristian Traum1-Sep-03 21:50 
Generalmessage identifier Pin
ranjjj1-Sep-03 21:19
ranjjj1-Sep-03 21:19 
Questiondisable keys?? Pin
xxhimanshu1-Sep-03 21:14
xxhimanshu1-Sep-03 21:14 
GeneralA Problem... :S - ATL COM suspected! Pin
fadee1-Sep-03 21:04
fadee1-Sep-03 21:04 
GeneralRe: A Problem... :S - ATL COM suspected! Pin
Braulio Dez2-Sep-03 3:50
Braulio Dez2-Sep-03 3:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.