#include #include #include #include void main() { int bpb,nb; int r,c; ////////////bits per band and number of bands bpb=4; nb=6; //4; r=64; c=64; ///////////// FILE *fp1; fp1=fopen("parm_rsi.txt","r"); FILE *fp2; fp2=fopen("parm_rsi.txt","r"); FILE *fp3; fp3=fopen("parm_rsi.txt","r"); FILE *fp4; fp4=fopen("parm_rsi.txt","r"); FILE *fp5; fp5=fopen("parm_rsi.txt","r"); FILE *fp6; fp6=fopen("parm_rsi.txt","r"); FILE *fp7; fp7=fopen("parm_rsi.txt","r"); FILE *fp8; fp8=fopen("parm_rsi.txt","r"); FILE *fp9; fp9=fopen("parm_rsi.txt","r"); FILE *fp10; fp10=fopen("parm_rsi.txt","r"); FILE *fp11; fp11=fopen("parm_rsi.txt","r"); FILE *fp12; fp12=fopen("parm_rsi.txt","r"); FILE *fp13; fp13=fopen("parm_rsi.txt","r"); FILE *fp14; fp14=fopen("parm_rsi.txt","r"); FILE *fp15; fp15=fopen("parm_rsi.txt","r"); FILE *fp16; fp16=fopen("parm_rsi.txt","r"); FILE *fp17; fp17=fopen("parm_rsi.txt","r"); FILE *fp18; fp18=fopen("parm_rsi.txt","r"); FILE *fp19; fp19=fopen("parm_rsi.txt","r"); FILE *fp20; fp20=fopen("parm_rsi.txt","r"); FILE *fp21; fp21=fopen("parm_rsi.txt","r"); FILE *fp22; fp22=fopen("parm_rsi.txt","r"); FILE *fp23; fp23=fopen("parm_rsi.txt","r"); FILE *fp24; fp24=fopen("parm_rsi.txt","r"); FILE *w11; w11=fopen("b1b1.txt","w"); FILE *w12; w12=fopen("b1b2.txt","w"); FILE *w13; w13=fopen("b1b3.txt","w"); FILE *w14; w14=fopen("b1b4.txt","w"); FILE *w21; w21=fopen("b2b1.txt","w"); FILE *w22; w22=fopen("b2b2.txt","w"); FILE *w23; w23=fopen("b2b3.txt","w"); FILE *w24; w24=fopen("b2b4.txt","w"); FILE *w31; w31=fopen("b3b1.txt","w"); FILE *w32; w32=fopen("b3b2.txt","w"); FILE *w33; w33=fopen("b3b3.txt","w"); FILE *w34; w34=fopen("b3b4.txt","w"); FILE *w41; w41=fopen("b4b1.txt","w"); FILE *w42; w42=fopen("b4b2.txt","w"); FILE *w43; w43=fopen("b4b3.txt","w"); FILE *w44; w44=fopen("b4b4.txt","w"); FILE *w51; w51=fopen("b5b1.txt","w"); FILE *w52; w52=fopen("b5b2.txt","w"); FILE *w53; w53=fopen("b5b3.txt","w"); FILE *w54; w54=fopen("b5b4.txt","w"); FILE *w61; w61=fopen("b6b1.txt","w"); FILE *w62; w62=fopen("b6b2.txt","w"); FILE *w63; w63=fopen("b6b3.txt","w"); FILE *w64; w64=fopen("b6b4.txt","w"); int i,j,k; char testing1[bpb*nb*c];char testing2[bpb*nb*c];char testing3[bpb*nb*c];char testing4[bpb*nb*c]; char testing5[bpb*nb*c];char testing6[bpb*nb*c];char testing7[bpb*nb*c];char testing8[bpb*nb*c]; char testing9[bpb*nb*c];char testing10[bpb*nb*c];char testing11[bpb*nb*c];char testing12[bpb*nb*c]; char testing13[bpb*nb*c];char testing14[bpb*nb*c];char testing15[bpb*nb*c];char testing16[bpb*nb*c]; char testing17[bpb*nb*c];char testing18[bpb*nb*c];char testing19[bpb*nb*c];char testing20[bpb*nb*c]; char testing21[bpb*nb*c];char testing22[bpb*nb*c];char testing23[bpb*nb*c];char testing24[bpb*nb*c]; for(i=0;i