Click here to Skip to main content
15,887,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to Clear this Error Pin
T.RATHA KRISHNAN11-Aug-11 18:35
T.RATHA KRISHNAN11-Aug-11 18:35 
QuestionHow to open a document file ? Pin
_Flaviu11-Aug-11 7:08
_Flaviu11-Aug-11 7:08 
QuestionRe: How to open a document file ? Pin
David Crow11-Aug-11 7:16
David Crow11-Aug-11 7:16 
AnswerRe: How to open a document file ? Pin
_Flaviu11-Aug-11 7:43
_Flaviu11-Aug-11 7:43 
Question900520 - VC6 vs VS 2010 Pin
ilostmyid211-Aug-11 3:03
professionalilostmyid211-Aug-11 3:03 
AnswerRe: 900520 - VC6 vs VS 2010 Pin
Maximilien11-Aug-11 3:28
Maximilien11-Aug-11 3:28 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
ilostmyid211-Aug-11 3:34
professionalilostmyid211-Aug-11 3:34 
QuestionRe: 900520 - VC6 vs VS 2010 Pin
Maximilien11-Aug-11 7:49
Maximilien11-Aug-11 7:49 
To be frank, I don't know how to interpret it and what it is supposed to be or to do.

You got a class containing an array of its own member variable addresses ?

ilostmyid2 wrote:
if u mean the offset of them from the beginning of the class instance, we should use offsetof() in such a case which is completely different from this.


I don't mean anything ...

Debugging that code will display something like:

-A::m_values 0x00e77000 struct A::Info * A::m_values {a=0x00000000 } A::Info [2]
-	[0] {a=0x00000000 }	A::Info
+		a	0x00000000	int *
-	[1] {a=0x00000004 }	A::Info
+		a	0x00000004	int *


Where m_values[0] is the offset of the first variable and m_values[1] is the offset of the second variable...

It is quite an ugly piece of code.

Please explain what it is supposed to do .
Watched code never compiles.

GeneralRe: 900520 - VC6 vs VS 2010 Pin
Albert Holguin11-Aug-11 9:54
professionalAlbert Holguin11-Aug-11 9:54 
AnswerRe: 900520 - VC6 vs VS 2010 Pin
ilostmyid212-Aug-11 0:14
professionalilostmyid212-Aug-11 0:14 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
Maximilien12-Aug-11 0:52
Maximilien12-Aug-11 0:52 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
ilostmyid212-Aug-11 7:21
professionalilostmyid212-Aug-11 7:21 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
Maximilien12-Aug-11 7:47
Maximilien12-Aug-11 7:47 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
ilostmyid212-Aug-11 7:59
professionalilostmyid212-Aug-11 7:59 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
MicroVirus12-Aug-11 8:31
MicroVirus12-Aug-11 8:31 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
ilostmyid212-Aug-11 13:39
professionalilostmyid212-Aug-11 13:39 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
MicroVirus12-Aug-11 4:36
MicroVirus12-Aug-11 4:36 
AnswerRe: 900520 - VC6 vs VS 2010 Pin
ilostmyid212-Aug-11 18:22
professionalilostmyid212-Aug-11 18:22 
GeneralRe: 900520 - VC6 vs VS 2010 Pin
ilostmyid212-Aug-11 18:30
professionalilostmyid212-Aug-11 18:30 
QuestionDirecting logcxx to a log4net appender Pin
Berlus10-Aug-11 23:47
Berlus10-Aug-11 23:47 
AnswerRe: Directing logcxx to a log4net appender Pin
Richard MacCutchan11-Aug-11 5:50
mveRichard MacCutchan11-Aug-11 5:50 
AnswerRe: Directing logcxx to a log4net appender Pin
jschell11-Aug-11 13:03
jschell11-Aug-11 13:03 
QuestionHow to eliminate MOBILE SDK from my Document Explorer 2008? Pin
Cold_Fearing_Bird10-Aug-11 19:19
Cold_Fearing_Bird10-Aug-11 19:19 
AnswerRe: How to eliminate MOBILE SDK from my Document Explorer 2008? Pin
Richard MacCutchan10-Aug-11 22:59
mveRichard MacCutchan10-Aug-11 22:59 
GeneralRe: How to eliminate MOBILE SDK from my Document Explorer 2008? Pin
Cold_Fearing_Bird11-Aug-11 0:11
Cold_Fearing_Bird11-Aug-11 0:11 

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.