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

C / C++ / MFC

 
QuestionGetItemDataPtr (ComboBox) Not Working For Me Pin
AmbiguousName18-May-12 1:13
AmbiguousName18-May-12 1:13 
AnswerRe: GetItemDataPtr (ComboBox) Not Working For Me Pin
TomasRiker218-May-12 2:29
TomasRiker218-May-12 2:29 
GeneralRe: GetItemDataPtr (ComboBox) Not Working For Me Pin
zhaolei.cpp@gmail.com18-May-12 4:09
zhaolei.cpp@gmail.com18-May-12 4:09 
QuestionRe: GetItemDataPtr (ComboBox) Not Working For Me Pin
David Crow18-May-12 2:35
David Crow18-May-12 2:35 
AnswerRe: GetItemDataPtr (ComboBox) Not Working For Me Pin
AmbiguousName18-May-12 3:42
AmbiguousName18-May-12 3:42 
AnswerRe: GetItemDataPtr (ComboBox) Not Working For Me Pin
David Crow18-May-12 4:59
David Crow18-May-12 4:59 
AnswerRe: GetItemDataPtr (ComboBox) Not Working For Me Pin
Luc Pattyn18-May-12 5:24
sitebuilderLuc Pattyn18-May-12 5:24 
QuestionReference a struct member variable Pin
manoharbalu17-May-12 0:47
manoharbalu17-May-12 0:47 
I have 2 different structures test1 and test2

struct test1
{
float IV [300];
char FAIL [200];
char FD [600];
float NENTH [600];
float NKVAL [30][600];
float NLEVEL [600];
int COUNT;
int CTIME;
};

struct test2
{
float RIV [300];
float RXX [100];
char RFAIL [200];
char RFD [600];
float RTB [50];
float RNENTH [600];
char GCD [200];
float RNKVAL [30][600];
char MTBD [600];
float RNLEVEL [600];
int RCOUNT;
int RCTIME;
};

The 2 structure objects are:
struct test1 *sim1;
struct test2 *sim2;

sim1 = new test1();
sim2 = new test2();

Now I want the sim1->IV to exactly point to sim2->RIV
and sim1->NENTH to exactly point to sim2->RNENTH.
So at any point of time, sim1->IV[i] should be same as sim2->RIV[i] where i is any of the valid index range and similarly for NENTH and RNENTH.

Any one know how to acheive this please provide me the code.
C.B.Mohankumar

AnswerRe: Reference a struct member variable Pin
Chris Losinger17-May-12 1:33
professionalChris Losinger17-May-12 1:33 
AnswerRe: Reference a struct member variable Pin
CPallini17-May-12 1:49
mveCPallini17-May-12 1:49 
AnswerRe: Reference a struct member variable Pin
Richard MacCutchan17-May-12 2:54
mveRichard MacCutchan17-May-12 2:54 
GeneralRe: Reference a struct member variable Pin
manoharbalu17-May-12 4:40
manoharbalu17-May-12 4:40 
GeneralRe: Reference a struct member variable Pin
Albert Holguin17-May-12 8:02
professionalAlbert Holguin17-May-12 8:02 
GeneralRe: Reference a struct member variable Pin
Erudite_Eric17-May-12 19:36
Erudite_Eric17-May-12 19:36 
AnswerRe: Reference a struct member variable Pin
Aescleal17-May-12 4:19
Aescleal17-May-12 4:19 
AnswerRe: Reference a struct member variable Pin
TomasRiker217-May-12 7:36
TomasRiker217-May-12 7:36 
AnswerRe: Reference a struct member variable Pin
Erudite_Eric17-May-12 19:38
Erudite_Eric17-May-12 19:38 
GeneralRe: Reference a struct member variable Pin
Aescleal17-May-12 21:10
Aescleal17-May-12 21:10 
AnswerRe: Reference a struct member variable Pin
Stefan_Lang21-May-12 23:50
Stefan_Lang21-May-12 23:50 
Questionneed help in MFC Pin
jawadali47716-May-12 19:46
jawadali47716-May-12 19:46 
AnswerRe: need help in MFC Pin
Richard MacCutchan16-May-12 21:12
mveRichard MacCutchan16-May-12 21:12 
GeneralRe: need help in MFC Pin
jawadali47716-May-12 21:22
jawadali47716-May-12 21:22 
GeneralRe: need help in MFC Pin
Richard MacCutchan16-May-12 22:48
mveRichard MacCutchan16-May-12 22:48 
GeneralRe: need help in MFC Pin
jeron117-May-12 3:55
jeron117-May-12 3:55 
GeneralRe: need help in MFC Pin
Richard MacCutchan17-May-12 4:42
mveRichard MacCutchan17-May-12 4:42 

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.