Click here to Skip to main content
16,008,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DispatchMessage vs own function Pin
S van Leent2-Nov-02 10:21
S van Leent2-Nov-02 10:21 
GeneralRe: DispatchMessage vs own function Pin
ian mariano2-Nov-02 15:19
ian mariano2-Nov-02 15:19 
GeneralRe: DispatchMessage vs own function Pin
S van Leent2-Nov-02 10:54
S van Leent2-Nov-02 10:54 
GeneralStrange List Box Problem Pin
Ayush2-Nov-02 4:36
Ayush2-Nov-02 4:36 
GeneralRe: Strange List Box Problem Pin
ian mariano2-Nov-02 10:40
ian mariano2-Nov-02 10:40 
GeneralRe: Strange List Box Problem Pin
Ayush2-Nov-02 14:35
Ayush2-Nov-02 14:35 
GeneralRe: Strange List Box Problem Pin
ian mariano2-Nov-02 15:11
ian mariano2-Nov-02 15:11 
QuestionHow to define operator = in CStringArray? Pin
ooosawaddee32-Nov-02 3:08
ooosawaddee32-Nov-02 3:08 
I write this below function to return CStringArray.
<br />
CStringArray info;<br />
info = m_Proc.Getinfo(m_arrFileName, m_arrPassword);<br />


When I compile there are error message show like these

<br />
error C2582: 'CStringArray' : 'operator =' function is unavailable<br />
error C2582: 'CStringArray' : 'operator =' function is unavailable<br />
error C2679: binary '+=' : no operator defined which takes a right-hand operand of type 'class CStringArray' (or there is no acceptable conversion)<br />
error C2558: class 'CStringArray' : no copy constructor available<br />


Do you know how to define operator = in CStringArray? Are there another way to do that?

Thank you for your answer.
AnswerRe: How to define operator = in CStringArray? Pin
Dominik Reichl2-Nov-02 3:26
Dominik Reichl2-Nov-02 3:26 
Generalask another question Pin
ooosawaddee32-Nov-02 3:57
ooosawaddee32-Nov-02 3:57 
GeneralRe: ask another question Pin
Dominik Reichl2-Nov-02 6:03
Dominik Reichl2-Nov-02 6:03 
GeneralRe: ask another question Pin
dabs2-Nov-02 7:11
dabs2-Nov-02 7:11 
GeneralDate Formating Pin
Anonymous2-Nov-02 2:38
Anonymous2-Nov-02 2:38 
GeneralRe: Date Formating Pin
Dominik Reichl2-Nov-02 2:51
Dominik Reichl2-Nov-02 2:51 
Generaladd-in and adding right-click menu entries Pin
John Clayton2-Nov-02 1:14
John Clayton2-Nov-02 1:14 
Generalsetting DEVMODE structure Pin
vgkotha2-Nov-02 1:11
vgkotha2-Nov-02 1:11 
GeneralStupid debug question (concerning VC IDE) Pin
User 66582-Nov-02 0:34
User 66582-Nov-02 0:34 
GeneralRe: Stupid debug question (concerning VC IDE) Pin
carrie2-Nov-02 0:45
carrie2-Nov-02 0:45 
GeneralRe: Stupid debug question (concerning VC IDE) Pin
Anonymous2-Nov-02 0:49
Anonymous2-Nov-02 0:49 
GeneralThanks! Pin
User 66582-Nov-02 0:57
User 66582-Nov-02 0:57 
GeneralImage files Pin
Stefan Bolder2-Nov-02 0:15
sussStefan Bolder2-Nov-02 0:15 
GeneralRe: Image files Pin
Stefan Bolder2-Nov-02 0:42
sussStefan Bolder2-Nov-02 0:42 
GeneralRe: Image files Pin
Gary R. Wheeler2-Nov-02 2:16
Gary R. Wheeler2-Nov-02 2:16 
Questionan idiot question: which key can make me break ' while (cin >> iVal) ' loop when i end up with input? Pin
1-Nov-02 23:51
suss1-Nov-02 23:51 
AnswerRe: an idiot question: which key can make me break ' while (cin >> iVal) ' loop when i end up with input? Pin
Dominik Reichl2-Nov-02 2:17
Dominik Reichl2-Nov-02 2:17 

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.