Click here to Skip to main content
15,903,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Icons Pin
Viorel.19-Jun-06 23:39
Viorel.19-Jun-06 23:39 
Questionwhich is better and why??? Pin
namaskaaram19-Jun-06 22:13
namaskaaram19-Jun-06 22:13 
AnswerRe: which is better and why??? Pin
Wim Engberts19-Jun-06 22:18
Wim Engberts19-Jun-06 22:18 
AnswerRe: which is better and why??? Pin
Laxman Auti19-Jun-06 22:21
Laxman Auti19-Jun-06 22:21 
AnswerRe: which is better and why??? [modified] Pin
Viorel.19-Jun-06 22:22
Viorel.19-Jun-06 22:22 
GeneralRe: which is better and why??? Pin
namaskaaram19-Jun-06 22:28
namaskaaram19-Jun-06 22:28 
GeneralRe: which is better and why??? Pin
Jörgen Sigvardsson19-Jun-06 23:44
Jörgen Sigvardsson19-Jun-06 23:44 
AnswerRe: which is better and why??? Pin
toxcct19-Jun-06 22:37
toxcct19-Jun-06 22:37 
in fact, prefer the following operator :
C& C::operator = (const C&);


the reason to prefer this one instead of the void operator is that the user of your class will then be able to cascade the assignment operations. consider this :
int i1, i2, i3;
C   c1, c2, c3;
 
i1 = i2 = i3 = 5;
c1 = c2 = c3 = /*...*/;


this is possible only because the operator = returns a reference to the object it has just modified...


TOXCCT >>> GEII power

[VisualCalc 3.0  updated ][Flags Beginner's Guide  new! ]
GeneralRe: which is better and why??? Pin
Kevin McFarlane19-Jun-06 22:44
Kevin McFarlane19-Jun-06 22:44 
AnswerRe: which is better and why??? Pin
Jörgen Sigvardsson19-Jun-06 23:43
Jörgen Sigvardsson19-Jun-06 23:43 
QuestionMultithreading question - measure time, and block code Pin
uusheikh19-Jun-06 22:07
uusheikh19-Jun-06 22:07 
AnswerRe: Multithreading question - measure time, and block code Pin
Hamid_RT19-Jun-06 22:12
Hamid_RT19-Jun-06 22:12 
GeneralRe: Multithreading question - measure time, and block code Pin
uusheikh19-Jun-06 22:22
uusheikh19-Jun-06 22:22 
AnswerRe: Multithreading question - measure time, and block code [modified] Pin
Eytukan19-Jun-06 23:04
Eytukan19-Jun-06 23:04 
AnswerRe: Multithreading question - measure time, and block code Pin
Eytukan19-Jun-06 23:17
Eytukan19-Jun-06 23:17 
GeneralRe: Multithreading question - measure time, and block code Pin
uusheikh19-Jun-06 23:31
uusheikh19-Jun-06 23:31 
QuestionEnable edit control in Dialog access Enter and ESC Pin
zeus_master19-Jun-06 22:04
zeus_master19-Jun-06 22:04 
AnswerRe: Enable edit control in Dialog access Enter and ESC Pin
Hamid_RT19-Jun-06 22:09
Hamid_RT19-Jun-06 22:09 
QuestionRe: Enable edit control in Dialog access Enter and ESC Pin
zeus_master19-Jun-06 22:15
zeus_master19-Jun-06 22:15 
AnswerRe: Enable edit control in Dialog access Enter and ESC Pin
FarPointer19-Jun-06 22:10
FarPointer19-Jun-06 22:10 
AnswerRe: Enable edit control in Dialog access Enter and ESC Pin
Cedric Moonen19-Jun-06 22:12
Cedric Moonen19-Jun-06 22:12 
QuestionRe: Enable edit control in Dialog access Enter and ESC Pin
zeus_master19-Jun-06 23:00
zeus_master19-Jun-06 23:00 
AnswerRe: Enable edit control in Dialog access Enter and ESC Pin
Cedric Moonen19-Jun-06 23:08
Cedric Moonen19-Jun-06 23:08 
GeneralRe: Enable edit control in Dialog access Enter and ESC Pin
zeus_master19-Jun-06 23:39
zeus_master19-Jun-06 23:39 
GeneralRe: Enable edit control in Dialog access Enter and ESC Pin
Cedric Moonen19-Jun-06 23:47
Cedric Moonen19-Jun-06 23:47 

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.