Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTrying to delete a pointer to a template class with only its memory address Pin
Cyrilix13-Jun-07 16:51
Cyrilix13-Jun-07 16:51 
Questionneed help Pin
gentleguy13-Jun-07 16:49
gentleguy13-Jun-07 16:49 
AnswerRe: need help Pin
Garth J Lancaster13-Jun-07 16:58
professionalGarth J Lancaster13-Jun-07 16:58 
AnswerRe: need help Pin
Hamid_RT13-Jun-07 19:24
Hamid_RT13-Jun-07 19:24 
QuestionIntercept Outgoing Port 80 Pin
zx2c413-Jun-07 11:02
zx2c413-Jun-07 11:02 
QuestionError C2558 Pin
David Crow13-Jun-07 10:29
David Crow13-Jun-07 10:29 
GeneralRe: Error C2558 Pin
Matthew Faithfull13-Jun-07 12:12
Matthew Faithfull13-Jun-07 12:12 
AnswerRe: Error C2558 Pin
Michael Dunn13-Jun-07 14:36
sitebuilderMichael Dunn13-Jun-07 14:36 
CArray doesn't have a copy ctor. It doesn't matter what you use as the template params, there's no copy ctor to copy any CArray object. I'd suggest this:
const arr& GetServices() const { return m_arrServices; }
Or if you absolutely can't return m_arrServices (the caller could cast away the const and muck with it) make the caller pass in a CArray that you fill in:
void GetServices(arr& a) const { a.Copy(m_arrServices); }


--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ

Dunder-Mifflin, this is Pam.

AnswerRe: Error C2558 Pin
Sameerkumar Namdeo13-Jun-07 18:15
Sameerkumar Namdeo13-Jun-07 18:15 
QuestionRadio Buttons Pin
l_d13-Jun-07 10:00
l_d13-Jun-07 10:00 
AnswerRe: Radio Buttons Pin
David Crow13-Jun-07 10:17
David Crow13-Jun-07 10:17 
AnswerRe: Radio Buttons Pin
_anil_13-Jun-07 15:27
_anil_13-Jun-07 15:27 
GeneralRe: Radio Buttons Pin
Akt_4_U13-Jun-07 22:53
Akt_4_U13-Jun-07 22:53 
QuestionWhat is C#? Pin
suchon_phuong13-Jun-07 7:09
suchon_phuong13-Jun-07 7:09 
AnswerRe: What is C#? Pin
David Crow13-Jun-07 7:24
David Crow13-Jun-07 7:24 
AnswerDon't answer this person. Pin
leckey13-Jun-07 7:58
leckey13-Jun-07 7:58 
AnswerRe: What is C#? Pin
Hamid_RT13-Jun-07 8:54
Hamid_RT13-Jun-07 8:54 
Questionsending data Pin
barbara_j_jenson13-Jun-07 6:38
barbara_j_jenson13-Jun-07 6:38 
AnswerRe: sending data Pin
Mark Salsbery13-Jun-07 7:03
Mark Salsbery13-Jun-07 7:03 
GeneralRe: sending data Pin
barbara_j_jenson14-Jun-07 1:29
barbara_j_jenson14-Jun-07 1:29 
Questionembedded resource in DLL v/s static library Pin
act_x13-Jun-07 6:20
act_x13-Jun-07 6:20 
AnswerRe: embedded resource in DLL v/s static library Pin
David Crow13-Jun-07 6:31
David Crow13-Jun-07 6:31 
QuestionCString concatenation problem Pin
penny black13-Jun-07 6:12
penny black13-Jun-07 6:12 
AnswerRe: CString concatenation problem Pin
Arman S.13-Jun-07 6:18
Arman S.13-Jun-07 6:18 
GeneralRe: CString concatenation problem Pin
penny black14-Jun-07 3:34
penny black14-Jun-07 3:34 

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.