Click here to Skip to main content
15,910,877 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhelp with WritePrivateProfileString Pin
fury 847-Jun-06 17:44
fury 847-Jun-06 17:44 
AnswerRe: help with WritePrivateProfileString Pin
Laxman Auti7-Jun-06 18:25
Laxman Auti7-Jun-06 18:25 
Questionhow to change pixel size to centimeter size? Pin
samfromcn7-Jun-06 17:29
samfromcn7-Jun-06 17:29 
AnswerRe: how to change pixel size to centimeter size? Pin
_AnsHUMAN_ 7-Jun-06 18:07
_AnsHUMAN_ 7-Jun-06 18:07 
AnswerRe: how to change pixel size to centimeter size? Pin
Michael Dunn7-Jun-06 19:22
sitebuilderMichael Dunn7-Jun-06 19:22 
Questionproblem with setwindowtext() Pin
swatgodjr7-Jun-06 17:00
swatgodjr7-Jun-06 17:00 
AnswerRe: problem with setwindowtext() Pin
Hamid_RT7-Jun-06 19:04
Hamid_RT7-Jun-06 19:04 
GeneralRe: problem with setwindowtext() Pin
swatgodjr7-Jun-06 19:44
swatgodjr7-Jun-06 19:44 
GeneralRe: problem with setwindowtext() Pin
Steve Echols7-Jun-06 20:06
Steve Echols7-Jun-06 20:06 
GeneralRe: problem with setwindowtext() Pin
Hamid_RT7-Jun-06 20:13
Hamid_RT7-Jun-06 20:13 
GeneralRe: problem with setwindowtext() Pin
Steve Echols7-Jun-06 21:42
Steve Echols7-Jun-06 21:42 
GeneralRe: problem with setwindowtext() Pin
Hamid_RT7-Jun-06 22:02
Hamid_RT7-Jun-06 22:02 
GeneralRe: problem with setwindowtext() Pin
Hamid_RT7-Jun-06 20:09
Hamid_RT7-Jun-06 20:09 
GeneralRe: problem with setwindowtext() Pin
swatgodjr7-Jun-06 20:27
swatgodjr7-Jun-06 20:27 
QuestionSTL sort problem Pin
_anil_7-Jun-06 15:56
_anil_7-Jun-06 15:56 
AnswerRe: STL sort problem Pin
Christian Graus7-Jun-06 16:16
protectorChristian Graus7-Jun-06 16:16 
GeneralRe: STL sort problem [modified] Pin
_anil_7-Jun-06 16:47
_anil_7-Jun-06 16:47 
GeneralRe: STL sort problem [modified] Pin
Christian Graus7-Jun-06 16:59
protectorChristian Graus7-Jun-06 16:59 
GeneralRe: STL sort problem [modified] Pin
_anil_7-Jun-06 17:06
_anil_7-Jun-06 17:06 
QuestionReturning a reference... check my work, please Pin
MALDATA7-Jun-06 15:40
MALDATA7-Jun-06 15:40 
AnswerRe: Returning a reference... check my work, please Pin
Christian Graus7-Jun-06 16:19
protectorChristian Graus7-Jun-06 16:19 
GeneralRe: Returning a reference... check my work, please Pin
MALDATA7-Jun-06 18:12
MALDATA7-Jun-06 18:12 
GeneralRe: Returning a reference... check my work, please Pin
Michael Dunn7-Jun-06 19:28
sitebuilderMichael Dunn7-Jun-06 19:28 
MALDATA wrote:
If I use "this" will that change one of the matrices involved in the sum?

No, the regular aritmetic operators should not change the operands.

It's a convention that operator overloads where the first operand is of type T, are made members of class T. You don't have to write the operators that way, but making them members can make the code easier to maintain since it keeps the matrix-related code closer together.


--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
Questionany body knows structures??? Pin
Inder gujral7-Jun-06 15:17
Inder gujral7-Jun-06 15:17 
AnswerRe: any body knows structures??? Pin
Christian Graus7-Jun-06 17:01
protectorChristian Graus7-Jun-06 17:01 

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.