Click here to Skip to main content
15,909,737 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: dynamically creating controls Pin
MANISH RASTOGI16-Feb-06 17:20
MANISH RASTOGI16-Feb-06 17:20 
GeneralRe: dynamically creating controls Pin
Owner drawn16-Feb-06 17:23
Owner drawn16-Feb-06 17:23 
GeneralRe: dynamically creating controls Pin
Ryan Binns16-Feb-06 17:25
Ryan Binns16-Feb-06 17:25 
GeneralRe: dynamically creating controls Pin
Owner drawn16-Feb-06 17:35
Owner drawn16-Feb-06 17:35 
GeneralRe: dynamically creating controls Pin
britboyjohnson17-Feb-06 1:03
britboyjohnson17-Feb-06 1:03 
GeneralRe: dynamically creating controls Pin
Owner drawn17-Feb-06 1:10
Owner drawn17-Feb-06 1:10 
GeneralRe: dynamically creating controls Pin
britboyjohnson17-Feb-06 2:10
britboyjohnson17-Feb-06 2:10 
AnswerRe: dynamically creating controls - determine unique ID Pin
Dan McCormick18-Feb-06 6:43
Dan McCormick18-Feb-06 6:43 
AnswerRe: dynamically creating controls Pin
John R. Shaw16-Feb-06 20:15
John R. Shaw16-Feb-06 20:15 
AnswerRe: dynamically creating controls Pin
BadKarma16-Feb-06 21:02
BadKarma16-Feb-06 21:02 
Questionindependent Effects in DirectX8 Pin
calgonite216-Feb-06 14:35
calgonite216-Feb-06 14:35 
QuestionNeed info on some good books!! Pin
pavanbabut16-Feb-06 13:05
pavanbabut16-Feb-06 13:05 
AnswerRe: Need info on some good books!! Pin
A.A.16-Feb-06 19:09
A.A.16-Feb-06 19:09 
GeneralRe: Need info on some good books!! Pin
pavanbabut17-Feb-06 7:31
pavanbabut17-Feb-06 7:31 
GeneralRe: Need info on some good books!! Pin
A.A.18-Feb-06 15:18
A.A.18-Feb-06 15:18 
GeneralRe: Need info on some good books!! Pin
pavanbabut21-Feb-06 7:02
pavanbabut21-Feb-06 7:02 
QuestionRemoveAll() method Pin
Kleser16-Feb-06 11:51
Kleser16-Feb-06 11:51 
AnswerRe: RemoveAll() method Pin
George L. Jackson16-Feb-06 12:38
George L. Jackson16-Feb-06 12:38 
AnswerRe: RemoveAll() method Pin
Owner drawn16-Feb-06 17:21
Owner drawn16-Feb-06 17:21 
AnswerRe: RemoveAll() method Pin
John R. Shaw16-Feb-06 20:23
John R. Shaw16-Feb-06 20:23 
AnswerRe: RemoveAll() method Pin
ThatsAlok17-Feb-06 3:36
ThatsAlok17-Feb-06 3:36 
GeneralRe: RemoveAll() method Pin
Kleser17-Feb-06 4:28
Kleser17-Feb-06 4:28 
GeneralRe: RemoveAll() method Pin
ThatsAlok17-Feb-06 19:18
ThatsAlok17-Feb-06 19:18 
GeneralRe: RemoveAll() method Pin
Kleser18-Feb-06 11:45
Kleser18-Feb-06 11:45 
i made a mistake writing the code above. it has to look like this:
void COtherClass::FirstFunction(CArray<CSomeClass, CSomeClass&>* pSomeClassArray)
{
....
}

instead of this:

void COtherClass::FirstFunction(CArray<CSomeClass, CSomeClass&>& pSomeClassArray)
{
....
}
the method has a pointer parameter instead of a reference parameter.

i guess CSomeClass does not implement a copy constructor, i have not added anything in the constructor neither write a new constructor in that class. Confused | :confused:

i use the class the way it is as i show you before, and it seems to work.
but i want to know how to implement a copy constructor, can you please show me how to do it?

thanks in advance Big Grin | :-D
QuestionNeed help with code! Pin
scorpiotkh16-Feb-06 9:49
scorpiotkh16-Feb-06 9:49 

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.