Click here to Skip to main content
15,903,388 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Ask for help: About resource file Pin
Gary R. Wheeler20-Nov-05 3:45
Gary R. Wheeler20-Nov-05 3:45 
QuestionHow to deal with the error 'not enough memory,can't deal with the command'? Pin
freemme19-Nov-05 16:49
freemme19-Nov-05 16:49 
AnswerRe: How to deal with the error 'not enough memory,can't deal with the command'? Pin
freemme21-Nov-05 15:05
freemme21-Nov-05 15:05 
QuestionWhere can I get a trial based DirectX 9.0 SDK withount any worry? Pin
sude19-Nov-05 15:39
sude19-Nov-05 15:39 
QuestionPassing Multidimensional Vector By Reference?? Pin
Magadass19-Nov-05 10:53
Magadass19-Nov-05 10:53 
AnswerRe: Passing Multidimensional Vector By Reference?? Pin
PJ Arends19-Nov-05 11:32
professionalPJ Arends19-Nov-05 11:32 
GeneralRe: Passing Multidimensional Vector By Reference?? Pin
Magadass19-Nov-05 12:32
Magadass19-Nov-05 12:32 
GeneralRe: Passing Multidimensional Vector By Reference?? Pin
PJ Arends19-Nov-05 12:57
professionalPJ Arends19-Nov-05 12:57 
Magadass wrote:
error C2784: 'bool std::operator ==(const std::vector<_Ty,_Alloc> &,const std::vector<_Ty,_Alloc> &)' : could not deduce template argument for 'const std::vector<_Ty,_Alloc> &' from 'const int' c:\program files\microsoft visual studio 8\vc\include\algorithm 40


Read the error message you posted. It tells you what the error is and the file and line number that the error occured on. The file is 'algorithm' and the line number is 40. The error occurs when the function calls std::operator ==(). Figure out what function is at line 40, then where you call that function. The error is probably in the parameters you pass to that function. The code you posted so far seems OK to me.

Also, have you looked up C2784 in MSDN? There is usually an explanation and possible solution listed there.





"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04

"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05

Within you lies the power for good - Use it!
GeneralRe: Passing Multidimensional Vector By Reference?? Pin
Magadass19-Nov-05 13:13
Magadass19-Nov-05 13:13 
GeneralRe: Passing Multidimensional Vector By Reference?? Pin
Magadass19-Nov-05 13:28
Magadass19-Nov-05 13:28 
GeneralRe: Passing Multidimensional Vector By Reference?? Pin
PJ Arends19-Nov-05 13:38
professionalPJ Arends19-Nov-05 13:38 
QuestionLVM_FINDITEM Pin
Dody_DK19-Nov-05 10:21
Dody_DK19-Nov-05 10:21 
AnswerRe: LVM_FINDITEM Pin
PJ Arends19-Nov-05 10:32
professionalPJ Arends19-Nov-05 10:32 
GeneralRe: LVM_FINDITEM Pin
Dody_DK19-Nov-05 10:34
Dody_DK19-Nov-05 10:34 
GeneralRe: LVM_FINDITEM Pin
PJ Arends19-Nov-05 10:41
professionalPJ Arends19-Nov-05 10:41 
GeneralRe: LVM_FINDITEM Pin
Dody_DK19-Nov-05 11:37
Dody_DK19-Nov-05 11:37 
QuestionCWnd::SetTimer - machine dependant ? Pin
ddmcr19-Nov-05 7:36
ddmcr19-Nov-05 7:36 
AnswerRe: CWnd::SetTimer - machine dependant ? Pin
Joel Lucsy19-Nov-05 9:37
Joel Lucsy19-Nov-05 9:37 
AnswerRe: CWnd::SetTimer - machine dependant ? Pin
Maximilien19-Nov-05 9:59
Maximilien19-Nov-05 9:59 
GeneralRe: CWnd::SetTimer - machine dependant ? Pin
ddmcr19-Nov-05 10:31
ddmcr19-Nov-05 10:31 
GeneralRe: CWnd::SetTimer - machine dependant ? Pin
Gary R. Wheeler19-Nov-05 11:00
Gary R. Wheeler19-Nov-05 11:00 
GeneralRe: CWnd::SetTimer - machine dependant ? Pin
ThatsAlok21-Nov-05 0:55
ThatsAlok21-Nov-05 0:55 
GeneralRe: CWnd::SetTimer - machine dependant ? Pin
ddmcr21-Nov-05 1:54
ddmcr21-Nov-05 1:54 
QuestionProper Programming Style Pin
Magadass19-Nov-05 5:07
Magadass19-Nov-05 5:07 
AnswerRe: Proper Programming Style Pin
Trollslayer19-Nov-05 6:24
mentorTrollslayer19-Nov-05 6:24 

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.