Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Reading from file -- readline problem: Pin
Zac Howland11-Sep-06 7:25
Zac Howland11-Sep-06 7:25 
Questionreading from a text file Pin
FredrickNorge11-Sep-06 5:10
FredrickNorge11-Sep-06 5:10 
AnswerRe: reading from a text file Pin
Zac Howland11-Sep-06 5:22
Zac Howland11-Sep-06 5:22 
GeneralRe: reading from a text file Pin
FredrickNorge11-Sep-06 5:38
FredrickNorge11-Sep-06 5:38 
Questiondifference between TRUE and true Pin
Tara1411-Sep-06 5:03
Tara1411-Sep-06 5:03 
AnswerRe: difference between TRUE and true Pin
Sarath C11-Sep-06 5:15
Sarath C11-Sep-06 5:15 
AnswerRe: difference between TRUE and true Pin
Chris Losinger11-Sep-06 5:15
professionalChris Losinger11-Sep-06 5:15 
AnswerRe: difference between TRUE and true Pin
Zac Howland11-Sep-06 5:17
Zac Howland11-Sep-06 5:17 
TRUE is a #define that Microsoft's header files defines to 1. true is a built-in value for a bool that is equal to 1 (or rather, !false).

It makes a little more sense when you look at the differences in the datatypes. BOOL is a typedef (or #define depending on the version of the header files) for an unsigned int (that is, it is 4 bytes in size). bool is a C++ standard type that is 1 byte in size (but easily can be represented by 1 bit).

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

AnswerRe: difference between TRUE and true Pin
toxcct11-Sep-06 5:19
toxcct11-Sep-06 5:19 
AnswerRe: difference between TRUE and true Pin
Michael Dunn11-Sep-06 7:34
sitebuilderMichael Dunn11-Sep-06 7:34 
GeneralRe: difference between TRUE and true Pin
Tara1411-Sep-06 8:44
Tara1411-Sep-06 8:44 
GeneralRe: difference between TRUE and true Pin
Nish Nishant11-Sep-06 8:51
sitebuilderNish Nishant11-Sep-06 8:51 
GeneralRe: difference between TRUE and true Pin
Michael Dunn11-Sep-06 8:51
sitebuilderMichael Dunn11-Sep-06 8:51 
GeneralRe: difference between TRUE and true Pin
Zac Howland11-Sep-06 9:08
Zac Howland11-Sep-06 9:08 
GeneralRe: difference between TRUE and true Pin
Tara1411-Sep-06 8:56
Tara1411-Sep-06 8:56 
QuestionCEdit: How do I track non visible edit changes? Pin
Dimitris Vikeloudas11-Sep-06 4:55
Dimitris Vikeloudas11-Sep-06 4:55 
AnswerRe: CEdit: How do I track non visible edit changes? Pin
KellyR11-Sep-06 8:43
KellyR11-Sep-06 8:43 
GeneralRe: CEdit: How do I track non visible edit changes? Pin
Dimitris Vikeloudas11-Sep-06 22:47
Dimitris Vikeloudas11-Sep-06 22:47 
Questionvc++ static library with largeaddressware option Pin
imadkk111-Sep-06 4:46
imadkk111-Sep-06 4:46 
QuestionWindows services shutdown Pin
majco33311-Sep-06 4:37
majco33311-Sep-06 4:37 
AnswerRe: Windows services shutdown Pin
Jun Du11-Sep-06 4:58
Jun Du11-Sep-06 4:58 
QuestionPorting New Changes to a Different PC Pin
Reagan Conservative11-Sep-06 4:32
Reagan Conservative11-Sep-06 4:32 
QuestionCTreeCtrl with checkboxes Pin
eusto11-Sep-06 4:18
eusto11-Sep-06 4:18 
AnswerRe: CTreeCtrl with checkboxes Pin
Hamid_RT12-Sep-06 8:34
Hamid_RT12-Sep-06 8:34 
QuestionCMenu Ownerdraw popup arrow icon Pin
YaronNir11-Sep-06 3:06
YaronNir11-Sep-06 3:06 

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.