Click here to Skip to main content
16,012,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem of copying and pasting on SDI application Pin
David Crow20-Nov-06 3:37
David Crow20-Nov-06 3:37 
QuestionMsvcr80d.dll Pin
LiYS17-Nov-06 14:11
LiYS17-Nov-06 14:11 
AnswerRe: Msvcr80d.dll Pin
PJ Arends17-Nov-06 17:47
professionalPJ Arends17-Nov-06 17:47 
GeneralRe: Msvcr80d.dll Pin
LiYS17-Nov-06 21:01
LiYS17-Nov-06 21:01 
GeneralRe: Msvcr80d.dll Pin
PJ Arends17-Nov-06 23:50
professionalPJ Arends17-Nov-06 23:50 
GeneralRe: Msvcr80d.dll Pin
LiYS18-Nov-06 1:02
LiYS18-Nov-06 1:02 
GeneralRe: Msvcr80d.dll Pin
PJ Arends18-Nov-06 6:11
professionalPJ Arends18-Nov-06 6:11 
Questionoverloaded [] Pin
ddpn4217-Nov-06 13:28
ddpn4217-Nov-06 13:28 
Sorry for posting so much in a row I am just having severe problems that don't seem right. Anyway for the next I have very similar code. In the following code i get error C2440: '=' : cannot convert from 'Vector' to 'float'. I thought that the [] overload should return a float so why is it trying to convert it from a vector to a float?

Thanks for any help givin.

int main
{
Vector* Test1 = new Vector(3);
float Test10(0);
Test10 = Test1[0];
}

Base class Array header
float& operator[](const int RHS);
const float& operator[](const int RHS) const;
AnswerRe: overloaded [] Pin
Michael Dunn18-Nov-06 14:15
sitebuilderMichael Dunn18-Nov-06 14:15 
Questioncan't add 2 pointers Pin
ddpn4217-Nov-06 13:22
ddpn4217-Nov-06 13:22 
AnswerRe: can't add 2 pointers Pin
Mark Salsbery17-Nov-06 13:27
Mark Salsbery17-Nov-06 13:27 
GeneralRe: can't add 2 pointers Pin
ddpn4217-Nov-06 13:30
ddpn4217-Nov-06 13:30 
GeneralRe: can't add 2 pointers Pin
Mark Salsbery17-Nov-06 13:54
Mark Salsbery17-Nov-06 13:54 
GeneralRe: can't add 2 pointers Pin
ddpn4217-Nov-06 14:21
ddpn4217-Nov-06 14:21 
GeneralRe: can't add 2 pointers Pin
Mark Salsbery17-Nov-06 14:34
Mark Salsbery17-Nov-06 14:34 
GeneralRe: can't add 2 pointers Pin
ddpn4217-Nov-06 15:45
ddpn4217-Nov-06 15:45 
GeneralRe: can't add 2 pointers Pin
Mark Salsbery17-Nov-06 16:01
Mark Salsbery17-Nov-06 16:01 
AnswerRe: can't add 2 pointers Pin
Jörgen Sigvardsson17-Nov-06 13:30
Jörgen Sigvardsson17-Nov-06 13:30 
GeneralRe: can't add 2 pointers Pin
ddpn4217-Nov-06 13:39
ddpn4217-Nov-06 13:39 
QuestionNewWindow2 problem event sink Pin
yokos117-Nov-06 12:24
yokos117-Nov-06 12:24 
QuestionDirectShow VMR9 Window inside Direct3D interface Pin
Dustin Henry17-Nov-06 10:27
Dustin Henry17-Nov-06 10:27 
AnswerRe: DirectShow VMR9 Window inside Direct3D interface Pin
Mark Salsbery17-Nov-06 10:38
Mark Salsbery17-Nov-06 10:38 
QuestionGlobal Explicit Static Variables Pin
switang17-Nov-06 10:23
switang17-Nov-06 10:23 
AnswerRe: Global Explicit Static Variables Pin
Mark Salsbery17-Nov-06 10:26
Mark Salsbery17-Nov-06 10:26 
AnswerRe: Global Explicit Static Variables Pin
switang17-Nov-06 10:40
switang17-Nov-06 10:40 

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.