Click here to Skip to main content
15,559,667 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help with xterm Pin
k505417-Sep-22 6:09
mvek505417-Sep-22 6:09 
GeneralRe: Help with xterm Pin
Member 1496877117-Sep-22 6:54
Member 1496877117-Sep-22 6:54 
Questionhow to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 13:03
samzcs11-Sep-22 13:03 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 13:24
mveGreg Utas11-Sep-22 13:24 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 14:29
samzcs11-Sep-22 14:29 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
samzcs11-Sep-22 14:34
samzcs11-Sep-22 14:34 
GeneralRe: how to use a struct pointer to get a struct pointer array's member Pin
Greg Utas11-Sep-22 14:46
mveGreg Utas11-Sep-22 14:46 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Mircea Neacsu11-Sep-22 16:09
Mircea Neacsu11-Sep-22 16:09 
How about this:
C++
typedef struct {
  int s1;
  int s2;
  int s3;
}strTst;

strTst spst1 = { 3,5,7 };

strTst spst2 = { 1,2,4 };

strTst* Sp1[2] =
{
    &spst1,
    &spst2
};

strTst** pt = Sp1;

void f () {
  pt[1]->s1 = 0;
}

Mircea

AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
Richard MacCutchan12-Sep-22 1:00
mveRichard MacCutchan12-Sep-22 1:00 
AnswerRe: how to use a struct pointer to get a struct pointer array's member Pin
magnomagna23-Sep-22 5:06
magnomagna23-Sep-22 5:06 
QuestionMAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20028-Sep-22 22:15
jur20028-Sep-22 22:15 
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Richard MacCutchan8-Sep-22 22:19
mveRichard MacCutchan8-Sep-22 22:19 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20028-Sep-22 23:24
jur20028-Sep-22 23:24 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Richard MacCutchan9-Sep-22 0:23
mveRichard MacCutchan9-Sep-22 0:23 
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Victor Nijegorodov8-Sep-22 23:00
Victor Nijegorodov8-Sep-22 23:00 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20029-Sep-22 0:07
jur20029-Sep-22 0:07 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Victor Nijegorodov9-Sep-22 0:25
Victor Nijegorodov9-Sep-22 0:25 
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Randor 9-Sep-22 0:24
professional Randor 9-Sep-22 0:24 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
jur20029-Sep-22 1:44
jur20029-Sep-22 1:44 
GeneralRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Randor 9-Sep-22 2:10
professional Randor 9-Sep-22 2:10 
AnswerRe: MAPI error MAPI_E_NOT_SUPPORTED problem Pin
Gerry Schmitz9-Sep-22 16:54
mveGerry Schmitz9-Sep-22 16:54 
QuestionProblem creating an array of "class" Pin
Roberto64_Ge6-Sep-22 11:25
Roberto64_Ge6-Sep-22 11:25 
SuggestionRe: Problem creating an array of "class" Pin
Mircea Neacsu6-Sep-22 11:38
Mircea Neacsu6-Sep-22 11:38 
GeneralRe: Problem creating an array of "class" Pin
Roberto64_Ge6-Sep-22 11:57
Roberto64_Ge6-Sep-22 11:57 
AnswerRe: Problem creating an array of "class" Pin
Richard MacCutchan7-Sep-22 6:10
mveRichard MacCutchan7-Sep-22 6:10 

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.