Hi,
i have this piece of code which is decoding function for rice algorithm. which i pass as input is a binary file, which is encoded.
working of encoder:
the range of input in encoding fn is...
Type: Posts; User: amnakhan786
Hi,
i have this piece of code which is decoding function for rice algorithm. which i pass as input is a binary file, which is encoded.
working of encoder:
the range of input in encoding fn is...
Hi,
i have this piece of code, the encoding function creates a file of binary 1's and 0's but since i am getting output in a text file, the result is shown as ASCII characters which appear as...
thanks for the reply, but can u plz elaborate. i gave the command
./sample -c(compress) -4 (value of k) -1.txt(input file) -2.txt(output file)
but error message says:
Error: k must be between...
Hi,
i am relatively new to programming. i am trying to use an open source library found by google search. the readme file tells to write make on commandline, as a result i got an exe file sample,...
I am trying to understand the following Algorithm. It is a recursive algorithm but i am confused whether the two for loops are nested?
or first i will run 3n times then condition for n>1 will be...
thanks for your suggestion and the code
hi all,
thanks for your suggestions.
1)
i added fclose but it gives segmentation fault again. i posted the modified code on forum under the same thread.i also read abt malloc but i cant understand...
void comparefiles(const char *filename1,const char *filename2, int x);
int countlines(const char *filename);//these functions are to compare files passed as an argument and compare files.the...
.i tried closing the files every time but it still
gives segmentation fault.secondly please tell me how to modify the code to add
malloc.i havent used it before. i read abt it but i cant...
hi,
i am working on a code it has two parts:
for the first part i have
1500-4000 text files which have strings in them.some files are same and some
have different strings and i have to find...
"What operating system is this for? "
i am sorry i forgot to mention: linux
i am writing a code which is as follows:
#
include <stdio.h>
int main(void)
{
char buffer[2500];
FILE * myfile;
description of the program:
1. first i have to input a folder A by giving full filepath. this folder contains a benchmark program tcas.c, a text file universe.txt
which contains 1500 lines, each...
description of the program:
1. first i have to input a folder A by giving full filepath. this folder contains a benchmark program tcas.c, a text file universe.txt
which contains 1500 lines, each...
i got an assignment regarding testing, i have to write a c code and compile in
linux. the question is as found at:
CS 206 Programming Assignment: Effectiveness of Different Coverage Criteria in...