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

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

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.