Click here to Skip to main content
15,510,087 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to make LDPC parity check matrix H from non-systematic to systematic in C/C++ Pin
Member 1326117515-Jun-17 2:42
Member 1326117515-Jun-17 2:42 
QuestionDynamically create memory based on 2 different struture templates Pin
manoharbalu14-Jun-17 2:19
manoharbalu14-Jun-17 2:19 
AnswerRe: Dynamically create memory based on 2 different struture templates Pin
Richard MacCutchan14-Jun-17 5:32
mveRichard MacCutchan14-Jun-17 5:32 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
manoharbalu14-Jun-17 21:27
manoharbalu14-Jun-17 21:27 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
Richard MacCutchan14-Jun-17 23:40
mveRichard MacCutchan14-Jun-17 23:40 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
manoharbalu14-Jun-17 23:44
manoharbalu14-Jun-17 23:44 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
Richard MacCutchan15-Jun-17 0:18
mveRichard MacCutchan15-Jun-17 0:18 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
manoharbalu15-Jun-17 1:34
manoharbalu15-Jun-17 1:34 
Can you please give me a small example of declaring the second struture in the same global space using union.

Let me provide an example of the 2 structures that I use in my application

struct test1
{

int x[3000];
float y[2000];
char z[3000];
int a1[3000];
float a2[2000];
char b1[3000];
float c12[5000]; This member is not in test2
.
.
.
};

struct test2
{

int x[4000]; //Same member as in test1 with size increased
float y[1000]; //Same member as in test1 with size decreased
char z[5000]; //Same member as in test1 with size increased
int a1[2500]; //Same member as in test1 with size decreased
float a2[1000];//Same member as in test1 with size decreased
char b1[3000];//Same member as in test1
float abc[5000]; //Newly added in this structure only
.
.
.
};
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
Richard MacCutchan15-Jun-17 2:11
mveRichard MacCutchan15-Jun-17 2:11 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
leon de boer15-Jun-17 9:06
leon de boer15-Jun-17 9:06 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
manoharbalu15-Jun-17 20:54
manoharbalu15-Jun-17 20:54 
GeneralRe: Dynamically create memory based on 2 different struture templates Pin
leon de boer16-Jun-17 5:14
leon de boer16-Jun-17 5:14 
QuestionValue for a structure is not showing in watch window in VS2008 Pin
manoharbalu12-Jun-17 2:14
manoharbalu12-Jun-17 2:14 
AnswerRe: Value for a structure is not showing in watch window in VS2008 Pin
Richard MacCutchan12-Jun-17 7:26
mveRichard MacCutchan12-Jun-17 7:26 
GeneralRe: Value for a structure is not showing in watch window in VS2008 Pin
manoharbalu12-Jun-17 20:14
manoharbalu12-Jun-17 20:14 
GeneralRe: Value for a structure is not showing in watch window in VS2008 Pin
leon de boer12-Jun-17 21:57
leon de boer12-Jun-17 21:57 
QuestionHooking file move with shell extension? Pin
TheHeadlessSourceMan10-Jun-17 22:25
TheHeadlessSourceMan10-Jun-17 22:25 
AnswerRe: Hooking file move with shell extension? Pin
Jochen Arndt11-Jun-17 1:34
professionalJochen Arndt11-Jun-17 1:34 
GeneralRe: Hooking file move with shell extension? Pin
Richard MacCutchan11-Jun-17 2:20
mveRichard MacCutchan11-Jun-17 2:20 
QuestionDisable a textbox based on combo box choice Pin
lolici8-Jun-17 0:07
lolici8-Jun-17 0:07 
AnswerRe: Disable a textbox based on combo box choice Pin
Jochen Arndt8-Jun-17 0:37
professionalJochen Arndt8-Jun-17 0:37 
GeneralRe: Disable a textbox based on combo box choice Pin
lolici8-Jun-17 4:44
lolici8-Jun-17 4:44 
GeneralRe: Disable a textbox based on combo box choice Pin
Jochen Arndt8-Jun-17 5:37
professionalJochen Arndt8-Jun-17 5:37 
GeneralRe: Disable a textbox based on combo box choice Pin
lolici8-Jun-17 12:01
lolici8-Jun-17 12:01 
GeneralRe: Disable a textbox based on combo box choice Pin
Jochen Arndt8-Jun-17 22:17
professionalJochen Arndt8-Jun-17 22:17 

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.