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

C / C++ / MFC

 
AnswerRe: Track other processes in the computer Pin
Hamid_RT15-May-07 0:58
Hamid_RT15-May-07 0:58 
AnswerRe: Track other processes in the computer Pin
kasturi_haribabu15-May-07 1:08
kasturi_haribabu15-May-07 1:08 
GeneralRe: Track other processes in the computer Pin
Hamid_RT15-May-07 1:18
Hamid_RT15-May-07 1:18 
GeneralRe: Track other processes in the computer Pin
kamalesh8215-May-07 1:20
kamalesh8215-May-07 1:20 
Questionchanging row colour Pin
neha.agarwal2714-May-07 23:53
neha.agarwal2714-May-07 23:53 
AnswerRe: changing row colour Pin
Hamid_RT15-May-07 0:45
Hamid_RT15-May-07 0:45 
AnswerRe: changing row colour Pin
Nelek15-May-07 0:48
protectorNelek15-May-07 0:48 
QuestionProblem with constructor overloading... Pin
sandeepkavade14-May-07 23:46
sandeepkavade14-May-07 23:46 
hi all,
i am having a class and i want to impliment 2 overloaded constructors as:
in .h file:
Document(const char* filename=NULL);
Document(const wchar_t* filename=NULL);

in .cpp file

Document::Document( const char* filespec )
{
m_pdoc = NULL;
load( filespec );
}

Document::Document( const wchar_t* filespec )
{
m_pdoc = NULL;
load( filespec );
}

the load function is also overloaded.

but it gives me warning saying:
warning C4520: 'Document' : multiple default constructors specified

and error saying:

error C2668: 'Document::Document' : ambiguous call to overloaded function

where i am going wrong?
AnswerRe: Problem with constructor overloading... Pin
Cedric Moonen14-May-07 23:54
Cedric Moonen14-May-07 23:54 
GeneralRe: Problem with constructor overloading... Pin
sandeepkavade14-May-07 23:57
sandeepkavade14-May-07 23:57 
AnswerRe: Problem with constructor overloading... Pin
Arman S.15-May-07 0:00
Arman S.15-May-07 0:00 
QuestionRe: Problem with constructor overloading... Pin
David Crow15-May-07 3:25
David Crow15-May-07 3:25 
QuestionNeed help. I am trying to implement UDP for transferring file Pin
yaminisridaran14-May-07 23:26
yaminisridaran14-May-07 23:26 
AnswerRe: Need help. I am trying to implement UDP for transferring file Pin
Hamid_RT15-May-07 0:53
Hamid_RT15-May-07 0:53 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
yaminisridaran15-May-07 1:23
yaminisridaran15-May-07 1:23 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
Hamid_RT15-May-07 1:51
Hamid_RT15-May-07 1:51 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
#realJSOP15-May-07 1:54
professional#realJSOP15-May-07 1:54 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
Stephen Hewitt15-May-07 15:16
Stephen Hewitt15-May-07 15:16 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
#realJSOP15-May-07 23:19
professional#realJSOP15-May-07 23:19 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
Stephen Hewitt16-May-07 13:55
Stephen Hewitt16-May-07 13:55 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
Mark Salsbery15-May-07 5:18
Mark Salsbery15-May-07 5:18 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
yaminisridaran15-May-07 19:19
yaminisridaran15-May-07 19:19 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
Hamid_RT15-May-07 22:01
Hamid_RT15-May-07 22:01 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
Rajesh R Subramanian15-May-07 7:12
professionalRajesh R Subramanian15-May-07 7:12 
GeneralRe: Need help. I am trying to implement UDP for transferring file Pin
Moak16-May-07 3:21
Moak16-May-07 3:21 

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.