Click here to Skip to main content
15,905,566 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dll is error(picture) Pin
2249173-Jul-05 18:29
2249173-Jul-05 18:29 
GeneralRe: dll is error(picture) Pin
chinakknd3-Jul-05 18:46
chinakknd3-Jul-05 18:46 
GeneralRe: dll is error(picture) Pin
2249173-Jul-05 19:27
2249173-Jul-05 19:27 
GeneralOutlook express add in Pin
Wessam Fathi3-Jul-05 14:13
Wessam Fathi3-Jul-05 14:13 
GeneralRe: Outlook express add in Pin
2249173-Jul-05 17:51
2249173-Jul-05 17:51 
Generalerror C2146 Pin
John R. Shaw3-Jul-05 8:08
John R. Shaw3-Jul-05 8:08 
GeneralRe: error C2146 Pin
PJ Arends3-Jul-05 8:26
professionalPJ Arends3-Jul-05 8:26 
GeneralRe: error C2146 Pin
John R. Shaw3-Jul-05 8:31
John R. Shaw3-Jul-05 8:31 
GeneralRe: error C2146 Pin
Jose Lamas Rios3-Jul-05 9:12
Jose Lamas Rios3-Jul-05 9:12 
GeneralRe: error C2146 Pin
John R. Shaw5-Jul-05 16:51
John R. Shaw5-Jul-05 16:51 
GeneralRe: error C2146 Pin
Jose Lamas Rios5-Jul-05 17:23
Jose Lamas Rios5-Jul-05 17:23 
GeneralRe: error C2146 Pin
John R. Shaw5-Jul-05 18:09
John R. Shaw5-Jul-05 18:09 
GeneralDirectShow Audio-Video Synchronization Pin
Alexander M.,3-Jul-05 6:19
Alexander M.,3-Jul-05 6:19 
GeneralRe: DirectShow Audio-Video Synchronization Pin
stephen_young8-Jul-05 20:47
stephen_young8-Jul-05 20:47 
QuestionCan any 1 help me Pin
asma1233-Jul-05 3:56
asma1233-Jul-05 3:56 
AnswerRe: Can any 1 help me Pin
Saurabh.Garg3-Jul-05 4:15
Saurabh.Garg3-Jul-05 4:15 
AnswerRe: Can any 1 help me Pin
PJ Arends3-Jul-05 7:34
professionalPJ Arends3-Jul-05 7:34 
AnswerRe: Can any 1 help me Pin
Bob Stanneveld3-Jul-05 20:51
Bob Stanneveld3-Jul-05 20:51 
Hello,

If network is your constructor, you can try the following:
network::network(float a, float b, float c, float d)
    : nrn[0](a),
      nrn[1](b),
      nrn[2](c),
      nrn[3](d)
{
    // more code
}


This is called a construcor member initializer list. See here[^] and here[^] for more information.

This probably doesn't solve your problem, but I can't solve it since I don't know the exact problem. This "workaround" is better than solving your "operator=" problem..

Hope this helps Smile | :)

Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
Generalre: TSP using GA Pin
mark77203-Jul-05 3:35
mark77203-Jul-05 3:35 
GeneralAdding pages to the Power Manager (IShellPropSheetExt) Pin
Mochiler2-Jul-05 22:28
Mochiler2-Jul-05 22:28 
Generaladd value cross class: help me Pin
2-Jul-05 20:50
suss2-Jul-05 20:50 
GeneralRe: add value cross class: help me Pin
Cedric Moonen3-Jul-05 0:56
Cedric Moonen3-Jul-05 0:56 
Generalerror C2039 Pin
John R. Shaw2-Jul-05 16:34
John R. Shaw2-Jul-05 16:34 
GeneralRe: error C2039 Pin
Jose Lamas Rios2-Jul-05 18:33
Jose Lamas Rios2-Jul-05 18:33 
GeneralRe: error C2039 Pin
John R. Shaw2-Jul-05 20:37
John R. Shaw2-Jul-05 20:37 

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.