![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C
Benwei666
一个开发,一个创业者
展开
-
汉明码的编码和译码
# include "stdio.h"# include "time.h"# include "stdlib.h"# define A 4000# define M 4# define N 7/************************************************************************************************转载 2011-11-21 21:17:43 · 5599 阅读 · 1 评论 -
(7,3)循环码编码译码
/*(7,3)循环码的编译及纠检错实现*/#include#include#include/*函数声明*/void Begin();void Code();void Decoding();/*主函数*/main() { printf("\n (7,3)循环码的编码和译码\n "); Begin(); }/*进行编码*/void Code()转载 2011-11-22 10:30:31 · 13656 阅读 · 4 评论 -
费诺编码C语言实现
// This is a Fano coding program! ;// Input the probability and then get the Fano code;#include#include#include#includestatic char p[11][10];static int flag1=0;static int ncount1;//........转载 2011-11-14 20:36:10 · 9033 阅读 · 2 评论