📄 main.h
字号:
#include <iostream.h>
#include <string.h>
#include <malloc.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
#include <time.h>
#include <math.h>
#define Totalblock 10000 //the number of total block of the code prcessed
#define EncodedLength 1008 //encoding length
#define InfoLength 504 //information length
#define ParityCheckNum 504 //
#define G_RowNum 281 //row number the generation
#define H_ColNum 6 //colomn number of the check matrix
#define CodeRate 0.5
#define max_iter 80 // Maximum number of iteratons of decoding to do
#define limit 1e-100
#define pi 3.1415926535897932384626
#define TOOLARGE 10
#define TOOSMALL 1e-5
void simulation();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -