Search:

Type: Posts; User: amnakhan786

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,318

    decoding binary

    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...
  2. Replies
    6
    Views
    1,563

    ascii to binary, how??

    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...
  3. Replies
    3
    Views
    1,756

    thanks for the reply, but can u plz elaborate. i...

    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...
  4. Replies
    3
    Views
    1,756

    usage

    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,...
  5. Replies
    2
    Views
    911

    A recurrsion qs

    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...
  6. Replies
    16
    Views
    4,271

    thanks for your suggestion and the code

    thanks for your suggestion and the code
  7. Replies
    16
    Views
    4,271

    hi all, thanks for your suggestions. 1) i...

    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...
  8. Replies
    16
    Views
    4,271

    void comparefiles(const char *filename1,const...

    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...
  9. Replies
    16
    Views
    4,271

    .i tried closing the files every time but it...

    .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...
  10. Replies
    16
    Views
    4,271

    large reference file

    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...
  11. Replies
    4
    Views
    1,493

    "What operating system is this for? " i am...

    "What operating system is this for? "

    i am sorry i forgot to mention: linux
  12. Replies
    4
    Views
    1,493

    c code requested- really hard problem

    i am writing a code which is as follows:

    #
    include <stdio.h>

    int main(void)
    {
    char buffer[2500];
    FILE * myfile;
  13. Replies
    2
    Views
    3,228

    software testing for c code in linux

    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...
  14. Replies
    1
    Views
    2,921

    software testing of a c code in linux

    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...
  15. Replies
    1
    Views
    2,921

    c code for software testing-linux

    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...
Results 1 to 15 of 15