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

Re: binary code 80 80

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

Re: binary code 80 80

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'; 
}
Re: binary code 80 80

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

Re: binary code 80 80

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

Apparently you have posted the same questions on other boards.

Re: binary code 80 80

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

Re: binary code 80 80
#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
Re: binary code 80 80

#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 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.