Click here to Skip to main content
15,888,521 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Device Context Pin
pasztorpisti21-Dec-10 23:36
pasztorpisti21-Dec-10 23:36 
QuestionCToolBar Flickers Pin
janaswamy uday19-Dec-10 18:33
janaswamy uday19-Dec-10 18:33 
AnswerRe: CToolBar Flickers Pin
Roger Allen10-Jan-11 1:53
Roger Allen10-Jan-11 1:53 
GeneralRe: CToolBar Flickers Pin
janaswamy uday10-Jan-11 23:36
janaswamy uday10-Jan-11 23:36 
Questionvariable 'bool' / header stdbool.h Pin
Randy12719-Dec-10 16:30
Randy12719-Dec-10 16:30 
AnswerRe: variable 'bool' / header stdbool.h [modified] Pin
Luc Pattyn19-Dec-10 16:59
sitebuilderLuc Pattyn19-Dec-10 16:59 
GeneralRe: variable 'bool' / header stdbool.h Pin
Randy12719-Dec-10 19:38
Randy12719-Dec-10 19:38 
AnswerRe: variable 'bool' / header stdbool.h Pin
Luc Pattyn20-Dec-10 3:14
sitebuilderLuc Pattyn20-Dec-10 3:14 
You're welcome. I'm glad you're making progress.

I have two comments:

1.
if it is C code you want, you should use TRUE and FALSE (upper-case), and those really should already have be defined (as in #define...) somewhere in one of those header files for you, no need to do it yourself inside your code. You can define your own constants, and use those, but that would deviate from the conventions, and might become confusing later on. BTW: Under no condition you should change the values representing TRUE/true and FALSE/false!

2.
I don't know the book you are referring to; if it is causing too much hassle, I'd suggest you look for another one. On the other hand, if you made it to chapter 7, it may be just fine. Or maybe you skipped a lot?

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

AnswerRe: variable 'bool' / header stdbool.h Pin
T210219-Dec-10 19:38
T210219-Dec-10 19:38 
AnswerRe: variable 'bool' / header stdbool.h Pin
Aescleal20-Dec-10 3:55
Aescleal20-Dec-10 3:55 
QuestionWhy VC project won't run on Windows 7 Pin
ed welch19-Dec-10 10:45
ed welch19-Dec-10 10:45 
AnswerRe: Why VC project won't run on Windows 7 Pin
T210219-Dec-10 19:36
T210219-Dec-10 19:36 
GeneralRe: Why VC project won't run on Windows 7 Pin
ed welch20-Dec-10 1:31
ed welch20-Dec-10 1:31 
GeneralRe: Why VC project won't run on Windows 7 Pin
T210220-Dec-10 2:12
T210220-Dec-10 2:12 
QuestionOwner Button Width Pin
john563218-Dec-10 18:19
john563218-Dec-10 18:19 
AnswerRe: Owner Button Width Pin
Maximilien19-Dec-10 1:40
Maximilien19-Dec-10 1:40 
Question890927 - Invalid Input Format exception in sscanf_s Pin
ilostmyid218-Dec-10 1:48
professionalilostmyid218-Dec-10 1:48 
AnswerRe: 890927 - Invalid Input Format exception in sscanf_s Pin
ALLERSLIT18-Dec-10 2:59
ALLERSLIT18-Dec-10 2:59 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
ilostmyid218-Dec-10 3:19
professionalilostmyid218-Dec-10 3:19 
AnswerRe: 890927 - Invalid Input Format exception in sscanf_s Pin
Richard MacCutchan18-Dec-10 4:57
mveRichard MacCutchan18-Dec-10 4:57 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
ilostmyid218-Dec-10 7:53
professionalilostmyid218-Dec-10 7:53 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
Richard MacCutchan18-Dec-10 10:34
mveRichard MacCutchan18-Dec-10 10:34 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
ilostmyid218-Dec-10 18:52
professionalilostmyid218-Dec-10 18:52 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
Richard MacCutchan18-Dec-10 21:37
mveRichard MacCutchan18-Dec-10 21:37 
GeneralRe: 890927 - Invalid Input Format exception in sscanf_s Pin
ilostmyid219-Dec-10 0:29
professionalilostmyid219-Dec-10 0:29 

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.