Search:

Type: Posts; User: Perogy

Search: Search took 0.00 seconds.

  1. Replies
    27
    Views
    3,967

    ahhh that was it, thank you very much. Those...

    ahhh that was it, thank you very much. Those precedence errors can really catch a C newbie like me off guard.

    And just for clarification this is a school assignment which states we have to double...
  2. Replies
    27
    Views
    3,967

    Ok here's what I've got now, I have made some...

    Ok here's what I've got now, I have made some minor revisions to the structure and names of stuff so it might be a little hard to follow from the previous example, but nothing too major.

    The...
  3. Replies
    27
    Views
    3,967

    I don't see why item would have to be a pointer...

    I don't see why item would have to be a pointer though, it just gets stored in the array and that's that. Let me know if I'm wrong.

    I'll post the entire updated code shortly.
  4. Replies
    27
    Views
    3,967

    ahhh ok I see what you mean, just so we can...

    ahhh ok I see what you mean, just so we can change the original it needs to be passed in as an address. I did that and now it seems to work perfectly for the first time I use add but if I use it...
  5. Replies
    27
    Views
    3,967

    sorry but I don't think I'm quite following, you...

    sorry but I don't think I'm quite following, you mean that array should be a double pointer??
  6. Replies
    27
    Views
    3,967

    that worked! Thanks a million, I can't believe it...

    that worked! Thanks a million, I can't believe it was something so trivial.
  7. Replies
    27
    Views
    3,967

    thanks for the reply. hmmm.. removed that and it...

    thanks for the reply. hmmm.. removed that and it doesn't seem to make a difference
  8. Replies
    27
    Views
    3,967

    Dynamic array help

    Hello all, I am creating a program that uses a dynamic array to store students. My code compiles but i keep getting a runtime error which prints out a bunch of stuff, but the main thing being:

    ***...
Results 1 to 8 of 8