anybody know how to see this???
(23,12,7) binary code???

Recommended Answers

All 7 Replies

afraid not -- have no clue what you are asking.

anybody know how to see this???
(23,12,7) binary code???

Representing integers as a binary number..? if not, would you be a bit more specific?

Here's one way, using a bitset

#include <iostream>
#include <bitset>

int main()
{
    //bitset with 8 bits
    typedef std::bitset<8> bits_8;

    std::cout << bits_8(27) << '\n'
              << bits_8(12) << '\n'
              << bits_8(7)  << '\n'; 
}

sorry about that...

I just found out that the binary code (23,12, 7) is (n,k,d* = minimum distance).
I need to find the word error with the probability of bit error p = 0.01.

Is there a formula to calculate the word error?
Anybody knows any website that teaches me how to calculate the word error
or maybe someone knows the formula.

lot of help
ken js

do you mean this ? Nope, I haven't the slightest idea.

Apparently you have posted the same questions on other boards.

Error probabilities? Codes? Why are you asking this in a C++ forum.

#include<iostream.h>
void main()
{
 char ch[3];
 ch[0]=27;
 ch[1]=12;
 ch[2]=7;
 cout<<ch[0]<<"\n";
 cout<<ch[1]<<"\n";
 cout<<ch[2];
}
commented: bad code -1

#include<iostream.h>
void main()
{
char ch[3];
ch[0]=27;
ch[1]=12;
ch[2]=7;
cout<<ch[0]<<"\n";
cout<<ch[1]<<"\n";
cout<<ch[2];
}

Horrible, untagged, outdated code posted seemingly haphazard for no apparent reason.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.