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

C / C++ / MFC

 
GeneralRe: UDP Sockets and Windows 10 Pin
Rick York27-Jun-17 16:49
mveRick York27-Jun-17 16:49 
GeneralRe: UDP Sockets and Windows 10 Pin
Randor 27-Jun-17 20:27
professional Randor 27-Jun-17 20:27 
GeneralRe: UDP Sockets and Windows 10 Pin
leon de boer27-Jun-17 21:15
leon de boer27-Jun-17 21:15 
AnswerRe: UDP Sockets and Windows 10 Pin
Randor 27-Jun-17 20:37
professional Randor 27-Jun-17 20:37 
GeneralRe: UDP Sockets and Windows 10 Pin
Rick York28-Jun-17 6:59
mveRick York28-Jun-17 6:59 
GeneralRe: UDP Sockets and Windows 10 Pin
Randor 28-Jun-17 7:53
professional Randor 28-Jun-17 7:53 
AnswerRe: UDP Sockets and Windows 10 Pin
jeron128-Jun-17 5:04
jeron128-Jun-17 5:04 
GeneralRe: UDP Sockets and Windows 10 Pin
Rick York28-Jun-17 6:57
mveRick York28-Jun-17 6:57 
GeneralRe: UDP Sockets and Windows 10 Pin
jeron128-Jun-17 7:16
jeron128-Jun-17 7:16 
AnswerRe: UDP Sockets and Windows 10 Pin
Rick York28-Jun-17 7:47
mveRick York28-Jun-17 7:47 
GeneralRe: UDP Sockets and Windows 10 Pin
Randor 28-Jun-17 8:00
professional Randor 28-Jun-17 8:00 
GeneralRe: UDP Sockets and Windows 10 Pin
leon de boer28-Jun-17 8:27
leon de boer28-Jun-17 8:27 
QuestionDirect creation of CWnd Object Pin
al250027-Jun-17 5:16
al250027-Jun-17 5:16 
AnswerRe: Direct creation of CWnd Object Pin
Victor Nijegorodov27-Jun-17 6:17
Victor Nijegorodov27-Jun-17 6:17 
AnswerRe: Direct creation of CWnd Object Pin
Victor Nijegorodov27-Jun-17 6:27
Victor Nijegorodov27-Jun-17 6:27 
GeneralRe: Direct creation of CWnd Object Pin
leon de boer27-Jun-17 6:49
leon de boer27-Jun-17 6:49 
GeneralRe: Direct creation of CWnd Object Pin
Victor Nijegorodov27-Jun-17 10:45
Victor Nijegorodov27-Jun-17 10:45 
GeneralRe: Direct creation of CWnd Object Pin
leon de boer27-Jun-17 19:49
leon de boer27-Jun-17 19:49 
GeneralRe: Direct creation of CWnd Object Pin
al250029-Jun-17 5:23
al250029-Jun-17 5:23 
GeneralRe: Direct creation of CWnd Object Pin
leon de boer29-Jun-17 6:25
leon de boer29-Jun-17 6:25 
QuestionHow to proceed and execute LDPC decoding using Data Structure in C Pin
Member 1326117526-Jun-17 21:15
Member 1326117526-Jun-17 21:15 
AnswerRe: How to proceed and execute LDPC decoding using Data Structure in C Pin
Richard MacCutchan26-Jun-17 22:59
mveRichard MacCutchan26-Jun-17 22:59 
AnswerRe: How to proceed and execute LDPC decoding using Data Structure in C Pin
leon de boer27-Jun-17 5:36
leon de boer27-Jun-17 5:36 
Can I ask do you actually know how to program in C at all?
With your last question about tanh and now this I am really suspecting not or you are a student and this is homework for like a communications unit.

All you have to do is translate that text to code (start with pseudocode if you like).

Here let me do step 1 and solve c4 it's 1 line of C code
if (c3^1^c6 == 0) c4 = 1; else c4 = 0;

That assumes c3,c4,c6 etc are int's or something I can run the logical operator on but you haven't even told us that detail but you want us to write some code. For now lets just treat it as pseudocode.

So code written that is the solution to step 1, we have c4 evaluated.

Now you try Step 2 it is a simple shuffle of c4 from above back into the nodes but we don't know what you have the data in. So how about you have a crack at writing the code and show us. Even if it's not working I can at least see how you have the nodes setup. I don't even care about the types for now just write the variables c4 is adjusting.

Lets give you Step 3.
if (1^c2^c3^c4 == 0) c1 = 1; else c1 = 0;

Step 4 is another simple shuffle just needs some code which will be similar to Step 2 and you then have pseudocode to the entire problem.
In vino veritas


modified 27-Jun-17 21:19pm.

GeneralRe: How to proceed and execute LDPC decoding using Data Structure in C Pin
Member 1326117527-Jun-17 19:19
Member 1326117527-Jun-17 19:19 
QuestionDisecting a PE File, Revisited Pin
Bram van Kampen26-Jun-17 14:56
Bram van Kampen26-Jun-17 14:56 

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.