Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralUsing crystal reports with VC++ Pin
Mr Bose Dayala25-Sep-03 1:39
Mr Bose Dayala25-Sep-03 1:39 
GeneralVS6 Workspaces and Projects Pin
HeiniBlad25-Sep-03 0:55
HeiniBlad25-Sep-03 0:55 
GeneralRecord Number of Windows Pin
vancouver77725-Sep-03 0:13
vancouver77725-Sep-03 0:13 
GeneralRe: Record Number of Windows Pin
yfmain25-Sep-03 0:31
yfmain25-Sep-03 0:31 
GeneralBOOL and bool Pin
Saurabh_Delhi25-Sep-03 0:12
Saurabh_Delhi25-Sep-03 0:12 
GeneralRe: BOOL and bool Pin
RChin25-Sep-03 0:47
RChin25-Sep-03 0:47 
GeneralRe: BOOL and bool Pin
Dangleberry25-Sep-03 1:12
sussDangleberry25-Sep-03 1:12 
GeneralRe: BOOL and bool Pin
Michael Dunn25-Sep-03 4:52
sitebuilderMichael Dunn25-Sep-03 4:52 
BOOL is a Windows typedef, 4 bytes long. Its values are TRUE and FALSE.
bool is a built-in C++ type, 1 byte long. Its values are true and false.

That's all you need to know. Don't mix them. Sure, if you write:
BOOL b = false;
it will work, but it also looks like you don't know the difference between BOOL and bool. If you write this during an interview, it will reflect unfavorably on you. Wink | ;)

--Mike--
Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber
CP SearchBar v2.0.2 released
GeneralRe: BOOL and bool Pin
vcplusplus25-Sep-03 5:02
vcplusplus25-Sep-03 5:02 
Generalfingerprints recognition Pin
jimmy_me24-Sep-03 23:35
jimmy_me24-Sep-03 23:35 
QuestionSelectObject? Pin
Zizilamoroso24-Sep-03 23:33
Zizilamoroso24-Sep-03 23:33 
AnswerRe: SelectObject? Pin
Anonymous24-Sep-03 23:46
Anonymous24-Sep-03 23:46 
AnswerRe: SelectObject? Pin
Steve S25-Sep-03 1:00
Steve S25-Sep-03 1:00 
GeneralRe: SelectObject? Pin
Zizilamoroso25-Sep-03 1:37
Zizilamoroso25-Sep-03 1:37 
GeneralRe: SelectObject? Pin
Steve S25-Sep-03 1:40
Steve S25-Sep-03 1:40 
GeneralRe: SelectObject? Pin
Zizilamoroso25-Sep-03 1:55
Zizilamoroso25-Sep-03 1:55 
GeneralRe: SelectObject? Pin
Steve S25-Sep-03 2:08
Steve S25-Sep-03 2:08 
GeneralRe: SelectObject? Pin
Zizilamoroso25-Sep-03 3:46
Zizilamoroso25-Sep-03 3:46 
GeneralRe: SelectObject? Pin
Zizilamoroso25-Sep-03 4:03
Zizilamoroso25-Sep-03 4:03 
GeneralDebugger Pin
Rage24-Sep-03 23:26
professionalRage24-Sep-03 23:26 
GeneralRe: Debugger Pin
JWood25-Sep-03 6:24
JWood25-Sep-03 6:24 
GeneralMFC Dialog Pin
hph24-Sep-03 23:06
hph24-Sep-03 23:06 
GeneralRe: MFC Dialog Pin
YaronNir24-Sep-03 23:12
YaronNir24-Sep-03 23:12 
Questionhow to save a flash in a webpage as a jpg/gif/bmp file? Pin
zhongxunyang24-Sep-03 22:33
zhongxunyang24-Sep-03 22:33 
AnswerRe: how to save a flash in a webpage as a jpg/gif/bmp file? Pin
Terry O'Nolley27-Sep-03 8:32
Terry O'Nolley27-Sep-03 8:32 

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.