Click here to Skip to main content
14,771,274 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Netserverenum function return false detail Pin
Member 141178537-Dec-20 4:26
MemberMember 141178537-Dec-20 4:26 
GeneralRe: Netserverenum function return false detail Pin
Randor 7-Dec-20 8:04
professional Randor 7-Dec-20 8:04 
GeneralRe: Netserverenum function return false detail Pin
Member 141178538-Dec-20 3:25
MemberMember 141178538-Dec-20 3:25 
QuestionWhy can't I print my watermark in chrome and edge? Pin
Member 148726812-Dec-20 21:28
MemberMember 148726812-Dec-20 21:28 
AnswerRe: Why can't I print my watermark in chrome and edge? Pin
Richard MacCutchan3-Dec-20 0:05
mveRichard MacCutchan3-Dec-20 0:05 
AnswerRe: Why can't I print my watermark in chrome and edge? Pin
Randor 3-Dec-20 9:29
professional Randor 3-Dec-20 9:29 
Questionto bool or not to bool? Pin
Member 1498043325-Nov-20 9:36
MemberMember 1498043325-Nov-20 9:36 
AnswerRe: to bool or not to bool? Pin
Mircea Neacsu25-Nov-20 10:10
mvaMircea Neacsu25-Nov-20 10:10 
The second one is the exact opposite of the first one and shows you why you shouldn't mix bool with int: it just creates confusion.

I assume that isEmpty() returns true is the set is empty. So first one says "if set is empty, do not iterate devices". The second one says "if empty is false (that means there are some devices), do not iterate devices". Probably not what you had in mind.
Mircea

GeneralRe: to bool or not to bool? Pin
Member 1498043325-Nov-20 18:44
MemberMember 1498043325-Nov-20 18:44 
AnswerRe: to bool or not to bool? Pin
Mircea Neacsu25-Nov-20 18:55
mvaMircea Neacsu25-Nov-20 18:55 
AnswerRe: to bool or not to bool? Pin
Daniel Pfeffer26-Nov-20 8:17
professionalDaniel Pfeffer26-Nov-20 8:17 
QuestionEDITED Using template in C++ - run time error Pin
Member 1498043323-Nov-20 7:07
MemberMember 1498043323-Nov-20 7:07 
AnswerRe: Using template in C++ Pin
Richard MacCutchan23-Nov-20 7:25
mveRichard MacCutchan23-Nov-20 7:25 
GeneralRe: Using template in C++ Pin
Member 1498043324-Nov-20 15:34
MemberMember 1498043324-Nov-20 15:34 
GeneralRe: Using template in C++ Pin
Dave Kreskowiak24-Nov-20 20:01
mveDave Kreskowiak24-Nov-20 20:01 
GeneralRe: Using template in C++ Pin
Richard MacCutchan24-Nov-20 23:13
mveRichard MacCutchan24-Nov-20 23:13 
GeneralRe: Using template in C++ Pin
Member 1498043325-Nov-20 7:58
MemberMember 1498043325-Nov-20 7:58 
GeneralRe: Using template in C++ Pin
jeron125-Nov-20 8:23
Memberjeron125-Nov-20 8:23 
GeneralRe: Using template in C++ Pin
Richard MacCutchan25-Nov-20 8:42
mveRichard MacCutchan25-Nov-20 8:42 
GeneralRe: Using template in C++ Pin
Member 1498043325-Nov-20 9:53
MemberMember 1498043325-Nov-20 9:53 
GeneralRe: Using template in C++ Pin
Richard MacCutchan25-Nov-20 10:21
mveRichard MacCutchan25-Nov-20 10:21 
AnswerRe: Using template in C++ Pin
jeron123-Nov-20 7:41
Memberjeron123-Nov-20 7:41 
GeneralRe: Using template in C++ Pin
Member 1498043324-Nov-20 15:27
MemberMember 1498043324-Nov-20 15:27 
GeneralRe: Using template in C++ Pin
jeron124-Nov-20 15:42
Memberjeron124-Nov-20 15:42 
GeneralRe: Using template in C++ Pin
Member 1498043325-Nov-20 7:43
MemberMember 1498043325-Nov-20 7:43 

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.