Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Disecting a PE File Pin
Bram van Kampen18-Jun-17 12:46
Bram van Kampen18-Jun-17 12:46 
GeneralRe: Disecting a PE File Pin
harold aptroot18-Jun-17 3:11
harold aptroot18-Jun-17 3:11 
GeneralRe: Disecting a PE File Pin
Bram van Kampen18-Jun-17 13:05
Bram van Kampen18-Jun-17 13:05 
GeneralRe: Disecting a PE File Pin
harold aptroot18-Jun-17 13:39
harold aptroot18-Jun-17 13:39 
GeneralRe: Disecting a PE File Pin
Bram van Kampen19-Jun-17 13:27
Bram van Kampen19-Jun-17 13:27 
GeneralRe: Disecting a PE File Pin
harold aptroot19-Jun-17 14:27
harold aptroot19-Jun-17 14:27 
GeneralRe: Disecting a PE File Pin
Richard MacCutchan19-Jun-17 20:57
mveRichard MacCutchan19-Jun-17 20:57 
GeneralRe: Disecting a PE File Pin
Bram van Kampen29-Jun-17 12:00
Bram van Kampen29-Jun-17 12:00 
GeneralRe: Disecting a PE File Pin
Richard MacCutchan29-Jun-17 21:28
mveRichard MacCutchan29-Jun-17 21:28 
GeneralRe: Disecting a PE File Pin
Bram van Kampen30-Jun-17 14:19
Bram van Kampen30-Jun-17 14:19 
GeneralRe: Disecting a PE File Pin
Richard MacCutchan30-Jun-17 21:30
mveRichard MacCutchan30-Jun-17 21:30 
GeneralRe: Disecting a PE File Pin
Bram van Kampen2-Jul-17 13:26
Bram van Kampen2-Jul-17 13:26 
GeneralRe: Disecting a PE File Pin
Richard MacCutchan2-Jul-17 21:42
mveRichard MacCutchan2-Jul-17 21:42 
QuestionStreamin proc for Rich edit Pin
ForNow16-Jun-17 9:27
ForNow16-Jun-17 9:27 
QuestionRe: Streamin proc for Rich edit Pin
David Crow16-Jun-17 17:40
David Crow16-Jun-17 17:40 
AnswerRe: Streamin proc for Rich edit Pin
ForNow17-Jun-17 15:43
ForNow17-Jun-17 15:43 
GeneralRe: Streamin proc for Rich edit Pin
David Crow17-Jun-17 16:09
David Crow17-Jun-17 16:09 
GeneralRe: Streamin proc for Rich edit Pin
ForNow17-Jun-17 16:28
ForNow17-Jun-17 16:28 
Questionikspropertset declaring variable ksps Pin
Member 1326135415-Jun-17 5:58
Member 1326135415-Jun-17 5:58 
AnswerRe: ikspropertset declaring variable ksps Pin
Richard MacCutchan15-Jun-17 6:13
mveRichard MacCutchan15-Jun-17 6:13 
GeneralRe: ikspropertset declaring variable ksps Pin
Member 1326135415-Jun-17 8:35
Member 1326135415-Jun-17 8:35 
GeneralRe: ikspropertset declaring variable ksps Pin
Richard MacCutchan15-Jun-17 8:49
mveRichard MacCutchan15-Jun-17 8:49 
GeneralRe: ikspropertset declaring variable ksps Pin
jeron116-Jun-17 5:31
jeron116-Jun-17 5:31 
QuestionHow to make LDPC parity check matrix H from non-systematic to systematic in C/C++ Pin
Member 1326117515-Jun-17 1:42
Member 1326117515-Jun-17 1:42 
Hi,

 I am working LDPC encoding and decoding for hardware implementation.Through Vivado HLS,  I need to transform a parity-check matrix H (that only consists of ones and zeros) from a non-standard to a standard form through C/C++ programming language. Here below you may find samples of non-standard parity check matrices in which Gauss-Jordan elimination (over GF(2)) can be applied.

Initially, i am trying encoding part via C/C++ programming logic. please help me if you do have any idea about LDPC. I would need a method that works out with matrices of any dimension.

this is, express it as

Hsys = [I| P]

This is my H matrix

H=[1 1 0 0 1 0
   1 0 0 1 0 1
   1 1 1 0 0 1]; 

Expected Systematic H matrix

Hsys=[1 0 0 1 0 1
      0 1 0 1 1 1
      0 0 1 0 1 1];


int main() //THIS CODE WORKS ONLY FOR THE GIVEN MATRIX BUT I NEED A METHOD THAT WORKS OUT WITH MATRICES OF ANY DIMENSION
{
    // encoding
    int i,j;
    int message;
    int H_Matrix[3][6]={{1,1,0,0,1,0},{1,0,0,1,0,1},{1,1,1,0,0,1}};
    int temp[3][6]={0};
for(j=0;j<6;j++)
    {
        temp[1][j]=(H_Matrix[1][j]^H_Matrix[0][j]);
        H_Matrix[1][j] = temp[1][j];
        temp[2][j]=(H_Matrix[2][j]^H_Matrix[0][j]);
        H_Matrix[2][j] = temp[2][j];
        temp[0][j]=(H_Matrix[0][j]^H_Matrix[1][j]);
        H_Matrix[0][j] = temp[0][j];
    }
  
for(i=0;i<3;i++)
{
    for(j=0;j<6;j++)
    {
        printf("%d\t ",H_Matrix[i][j]);
    }
    printf("\n");
}
}

QuestionDynamically create memory based on 2 different struture templates Pin
manoharbalu14-Jun-17 1:19
manoharbalu14-Jun-17 1:19 

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.