Search:

Type: Posts; User: gevni

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    1,632

    Thanks @salem. You gave me a very good point. I...

    Thanks @salem. You gave me a very good point. I didn't notice but in my code there were two loops that actually run to the size of file and don't needed I just eliminate them and now it work perfect....
  2. Replies
    12
    Views
    1,632

    Let me explain it again, I think you...

    Let me explain it again, I think you misunderstood it.
    Let say there are 5 strings in the FASTA file (so there are 5 iterations of while loop) if the size of each string is same then each iteration...
  3. Replies
    12
    Views
    1,632

    100000 strings not the characters of each string....

    100000 strings not the characters of each string. When the number of strings [lines] grow the code get slow even for the very first iteration .
  4. Replies
    12
    Views
    1,632

    I am confused that why it take more time when...

    I am confused that why it take more time when file size let see is 100000 even for first iteration that run very efficiently in case of 10,000.
    For Exampe: I put printf statement for each iteration....
  5. Replies
    12
    Views
    1,632

    Sorry it was mistake in post. I actually free (b)...

    Sorry it was mistake in post. I actually free (b) inside the loop. Also I put 256 here just for asking question. This length is varying depending on the string length.
  6. Replies
    12
    Views
    1,632

    performance - read huge FASTA file line by line

    Hi
    I have a FASTA file that contain sequences string upto 2000000 line of strings. I wrote the code that works well with smaller size but when the size of file grows it get slower. Can you please...
  7. Thank you for your help I got the idea now :)

    Thank you for your help I got the idea now :)
  8. I forgot to mention it :). It is also make the...

    I forgot to mention it :). It is also make the list. Is there any solution?


    Regards:
    -----------------
    Tania
  9. Possible combination of multiplication that results specific number:

    Hi

    I have to generate all the possible combination of numbers where multiplication results in some specific number.

    For example I have number 12
    The all possible multiplication options that...
  10. Replies
    3
    Views
    572

    Segmentation fault error!!

    Hi
    I created structure and read values from file. I created function to get data from file. It give me segmentation fault error. I am not good with structure. Can you plz guide me what i am doing...
  11. two integer mean if x=09 y=89 z= 0989 ...

    two integer mean


    if x=09 y=89
    z= 0989


    I just want to concatenate the two integer values including 0 value
  12. For example if i have two integers x=0 y=1 ...

    For example if i have two integers
    x=0 y=1

    result should be
    z=01

    or if x=2, y=0
    result should be
    z=20
    or if x=5 y=8
  13. How to concatenate two integers into one integer!!

    How i can concatenate two integers into one integer. I have code that concatenate two integers but if the 2nd integer is zero it won't work. How can i modify it so that it can cater the case of y=0...
  14. how to create array who point to some value?

    HI

    I have to create dynamic array, where each element of it points to some value.

    I know how to create dynamic array


    array_record * record_1 = (array_record*)malloc(...
  15. I created the 2 structures for 2D link list. I am...

    I created the 2 structures for 2D link list. I am not good with pointers. Can u tell me how can i initialize and get elements from min_cost_candidate structure?

    like some thing ...
  16. How to create double link list for 2 level hierarchy!!

    Hi

    I have to create a 2D link list with 2 level hierarchy

    some thing like that




    head nodes level 1: 0 1 2
  17. Replies
    5
    Views
    1,145

    Thanks I did it using while loop. I am providing...

    Thanks I did it using while loop. I am providing the code here in case if some one has the same problem.



    for (u=0;u<q; u++){
    int *myIntPtr = &join[u][0];
    while( *myIntPtr > -1 )
    {
    ...
  18. Replies
    5
    Views
    1,145

    I use array of array to store this data and it...

    I use array of array to store this data and it work fine. Now i have to print it, how i can print all No. before sentinel?


    int **join=NULL;
    join = (int**)malloc(sizeof(int*) * unique);
    ...
  19. Replies
    5
    Views
    1,145

    How to generate hash table ?

    Hi I have these two columns.

    ID Group
    0 2
    1 2
    2 3
    3 4
    4 4
    5 4
    6 4
  20. Replies
    6
    Views
    2,103

    Parallel programming in C

    Hi
    I have one code that use MPI broadcast and I want to change it into Asynchronous Point to Point communication. I am newbie in Parallel programming.
    Can some one give me example implementation...
  21. Thanks i get it

    Thanks i get it
  22. How to concatenate array index for same elements for specified range?

    Hi
    sorry i am posting the same problem again. Actually i found some mistakes in my post. So here is the modified version. I want to concatenate the indexes of elements of array that has the same...
  23. qq,ii,rr are just rendom indexes to iterate. I...

    qq,ii,rr are just rendom indexes to iterate. I just post the part that i think is useful and exclude them. But it original code i declare them.
    lets make int col_elem=4;
    instead of col_elem[ii]=4;
  24. Concatenate array elements more then specified range

    Hi
    I m concatenating specific range of digits that are same from an array "element" . I have problem with range.As in my case the range is col_elem[ii]=4, but it will continue reading the next...
  25. Thanks it works :)

    Thanks it works :)
Results 1 to 25 of 45
Page 1 of 2 1 2