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

C / C++ / MFC

 
GeneralGDI+ trailing spaces and newline Pin
bob169728-Dec-07 5:59
bob169728-Dec-07 5:59 
GeneralWindow Styles Pin
Giorgi Dalakishvili8-Dec-07 4:32
mentorGiorgi Dalakishvili8-Dec-07 4:32 
GeneralRe: Window Styles Pin
Mark Salsbery8-Dec-07 6:23
Mark Salsbery8-Dec-07 6:23 
QuestionC++ resource file Pin
Somaiia7-Dec-07 21:44
Somaiia7-Dec-07 21:44 
GeneralRe: C++ resource file Pin
Mark Salsbery8-Dec-07 6:30
Mark Salsbery8-Dec-07 6:30 
QuestionDoes vs2008 support source control? How can vss for vc6 migrate to vs2008? Pin
followait7-Dec-07 16:34
followait7-Dec-07 16:34 
AnswerRe: Does vs2008 support source control? How can vss for vc6 migrate to vs2008? Pin
Christian Graus7-Dec-07 17:57
protectorChristian Graus7-Dec-07 17:57 
GeneralGetItemRect(iItem,&rt,LVIR_ICON), the result in rt is not accurate Pin
followait7-Dec-07 16:22
followait7-Dec-07 16:22 
Generaltellp, tellg, seekp, seekg Pin
clint19827-Dec-07 15:24
clint19827-Dec-07 15:24 
QuestionRe: tellp, tellg, seekp, seekg Pin
David Crow7-Dec-07 16:43
David Crow7-Dec-07 16:43 
QuestionRe: tellp, tellg, seekp, seekg Pin
clint19827-Dec-07 22:18
clint19827-Dec-07 22:18 
QuestionRe: tellp, tellg, seekp, seekg Pin
CPallini8-Dec-07 11:00
mveCPallini8-Dec-07 11:00 
QuestionWhich Mouse? Pin
RobertE7-Dec-07 12:55
RobertE7-Dec-07 12:55 
GeneralRe: Which Mouse? Pin
Anthony Mushrow7-Dec-07 14:56
professionalAnthony Mushrow7-Dec-07 14:56 
GeneralRe: Which Mouse? Pin
Mike Dimmick7-Dec-07 16:11
Mike Dimmick7-Dec-07 16:11 
GeneralRe: Which Mouse? Pin
Storm-blade8-Dec-07 10:45
professionalStorm-blade8-Dec-07 10:45 
QuestionRe: Which Mouse? Pin
RobertE9-Dec-07 8:17
RobertE9-Dec-07 8:17 
GeneralKnowing when user deletes a file with CFileDialog Pin
Henri7-Dec-07 7:55
Henri7-Dec-07 7:55 
GeneralRe: Knowing when user deletes a file with CFileDialog Pin
Maximilien7-Dec-07 9:11
Maximilien7-Dec-07 9:11 
GeneralRe: Knowing when user deletes a file with CFileDialog Pin
Mark Salsbery7-Dec-07 9:18
Mark Salsbery7-Dec-07 9:18 
GeneralClass Constructor Problem Pin
Lea Hayes7-Dec-07 6:47
Lea Hayes7-Dec-07 6:47 
GeneralRe: Class Constructor Problem Pin
Lea Hayes7-Dec-07 7:13
Lea Hayes7-Dec-07 7:13 
GeneralRe: Class Constructor Problem Pin
Cedric Moonen7-Dec-07 7:15
Cedric Moonen7-Dec-07 7:15 
AnswerRe: Class Constructor Problem Pin
Nathan Holt at EMOM7-Dec-07 7:16
Nathan Holt at EMOM7-Dec-07 7:16 
Without knowing how the optomization works, I am limited. If the non-const copy constructor doesn't change the source in any significant way, you might be able to declare certain members mutable. If the copy constructor destroys the source object, you might want to implement it as a swap function. In either case, I can imagine special cases that would require alternative methods.

Nathan
GeneralRe: Class Constructor Problem Pin
Lea Hayes7-Dec-07 7:55
Lea Hayes7-Dec-07 7:55 

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.