Click here to Skip to main content
15,921,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionQuestion about Bitmap Pin
zmfqsl19-Nov-05 18:32
zmfqsl19-Nov-05 18:32 
AnswerRe: Question about Bitmap Pin
Cool Ju20-Nov-05 19:49
Cool Ju20-Nov-05 19:49 
QuestionAsk for help: About resource file Pin
chenxiujie19-Nov-05 17:09
chenxiujie19-Nov-05 17:09 
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 
I cant for the life of me figure out how to setup the syntax to get this to work, here is my vector initializations..

typedef vector<int> vInt1D;
typedef vector<vInt1D> vInt2D;

Here is how I have my function definition...

void SetupCoordinates(int, vInt2D &);

the function declaration looks like this:

void Testing::SetupCoordinates(int iUnitLength, vInt2D &Test)
{
//stuff in here
}

The compiler returns:

Error 1 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

Everyone says Vectors are easy to pass to functions, but this is killing me... Thanks!!

"Your KungFu is not strong enough"

-- modified at 18:30 Saturday 19th November, 2005
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 
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 

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.