Search:

Type: Posts; User: baxy77bax

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,954

    cannot initialize structure variables

    Hi,

    i have a problem that is rather basic but since i am not a frequent developper this presents a difficulty to me that i do not understand. So what i have is :





    #include <stdio.h>...
  2. Replies
    2
    Views
    1,832

    allocating memory for structure

    hi, i have a simple question and would apprichiate if someone could give me a detailed explanation. so what i have is a structure like this:





    typedef struct tuple{
    int x;
    struct tuple...
  3. Replies
    3
    Views
    1,243

    :o thnx, now it works!

    :o

    thnx, now it works!
  4. Replies
    3
    Views
    1,243

    problem with pointers

    hi,

    i need some help with resolving the following problem. What i have is a structure in which i have a pointer to the character array. on the other hand i have a string array like this:



    ...
  5. Replies
    5
    Views
    2,747

    Thanx, that helped.... I think I'm tired and...

    Thanx,

    that helped.... I think I'm tired and thinking properly any more .... it is working now


    Thank you!
  6. Replies
    5
    Views
    2,747

    both variables undergo the same procedure but...

    both variables undergo the same procedure but they are loaded from Subject / Query file ... so i'm trying to avoid to write the same function twice. so every step is the same. therefore i want to...
  7. Replies
    2
    Views
    841

    Yep, that was it :) Thank you !

    Yep, that was it :)

    Thank you !
  8. Replies
    5
    Views
    2,747

    dynamic declaration of variables

    hi, my second question of the day :)

    so what i'm now trying to do is to dynamically declare a variable something like this:




    void *myFunction(char *type){

    if (*type == 'S'){
  9. Replies
    2
    Views
    841

    dynamic memory mgmnt

    hi,

    i have this problem with allocating memory dynamically. so what i'm trying to do is to upload my fasta file into memory with the following code:


    fasta.h...
  10. Replies
    2
    Views
    704

    Ok, this is embarrassing, thanks for noticing,...

    Ok, this is embarrassing, thanks for noticing, actually i just wrote that without paying to much attention to what exactly i am writing, but that is the case. I was reallocating the size of...
  11. Replies
    2
    Views
    704

    problems with reallocating memory

    hi ppl,

    i have this problem with reallocating memory. First to mention that I'm a beginner :)



    so the problem is, when i do this :
Results 1 to 11 of 11