Click here to Skip to main content
15,911,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Visual C++ breakpoint won't trigger. Pin
Michael P Butler26-Feb-02 22:59
Michael P Butler26-Feb-02 22:59 
GeneralFIX: Visual C++ breakpoint won't trigger. Pin
clintsinger27-Feb-02 6:30
clintsinger27-Feb-02 6:30 
GeneralBOOL vs. bool Pin
Roman Nurik26-Feb-02 10:20
Roman Nurik26-Feb-02 10:20 
GeneralRe: BOOL vs. bool Pin
Carlos Antollini26-Feb-02 10:29
Carlos Antollini26-Feb-02 10:29 
GeneralRe: BOOL vs. bool Pin
Tim Smith26-Feb-02 10:25
Tim Smith26-Feb-02 10:25 
GeneralRe: BOOL vs. bool Pin
Felix Cho26-Feb-02 10:24
Felix Cho26-Feb-02 10:24 
GeneralRe: BOOL vs. bool Pin
Tim Smith26-Feb-02 10:24
Tim Smith26-Feb-02 10:24 
GeneralRe: BOOL vs. bool Pin
Mukkie28-Feb-02 11:42
Mukkie28-Feb-02 11:42 
Hi!

Try this:
bool test_a = 3;
BOOL test_b = 3;
or that one:
bool test_a = true;
switch(test_b)
{
case 4:
break;
case 5:
break;
}
and the same for BOOL.

You will see the difference Smile | :)
Moreover: sizeof(BOOL) != sizeof(bool) ===> 4 != 1

I use always bool's, but when I deal with Win32 - I use BOOL's.


Mukkie
GeneralRe: BOOL vs. bool Pin
Roman Nurik26-Feb-02 10:27
Roman Nurik26-Feb-02 10:27 
Questionis this good practice? Pin
Roman Nurik26-Feb-02 10:17
Roman Nurik26-Feb-02 10:17 
AnswerRe: is this good practice? Pin
Nemanja Trifunovic26-Feb-02 10:27
Nemanja Trifunovic26-Feb-02 10:27 
GeneralRe: is this good practice? Pin
Roman Nurik26-Feb-02 10:24
Roman Nurik26-Feb-02 10:24 
GeneralRe: is this good practice? Pin
Christian Graus26-Feb-02 10:54
protectorChristian Graus26-Feb-02 10:54 
GeneralRe: is this good practice? Pin
Maximilien26-Feb-02 11:01
Maximilien26-Feb-02 11:01 
GeneralRe: is this good practice? Pin
Michael Dunn26-Feb-02 11:41
sitebuilderMichael Dunn26-Feb-02 11:41 
GeneralRe: is this good practice? Pin
Carlos Antollini26-Feb-02 10:31
Carlos Antollini26-Feb-02 10:31 
AnswerRe: is this good practice? Pin
Jon Hulatt27-Feb-02 1:04
Jon Hulatt27-Feb-02 1:04 
GeneralRe: is this good practice? Pin
Bill Wilson27-Feb-02 8:05
Bill Wilson27-Feb-02 8:05 
GeneralRe: is this good practice? Pin
Roman Nurik27-Feb-02 9:43
Roman Nurik27-Feb-02 9:43 
AnswerRe: is this good practice? Pin
Stan Shannon27-Feb-02 1:29
Stan Shannon27-Feb-02 1:29 
GeneralOpenGl opening files Pin
Nnamdi Onyeyiri26-Feb-02 10:08
Nnamdi Onyeyiri26-Feb-02 10:08 
GeneralAuto-complete file combo Pin
Chris Losinger26-Feb-02 8:52
professionalChris Losinger26-Feb-02 8:52 
GeneralRe: Auto-complete file combo Pin
Michael Dunn26-Feb-02 11:42
sitebuilderMichael Dunn26-Feb-02 11:42 
GeneralRe: Auto-complete file combo Pin
Chris Losinger26-Feb-02 12:24
professionalChris Losinger26-Feb-02 12:24 
Generalnevermind... Pin
Chris Losinger26-Feb-02 13:44
professionalChris Losinger26-Feb-02 13:44 

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.