Search:

Type: Posts; User: allplay

Search: Search took 0.01 seconds.

  1. Help with deleting node in the middle of a linked list

    I am trying to delete a node in the middle of my linked list. I am having some trouble...anyone see where my problem is?



    void *cancelFlight(struct llnode **flight, char firstName[], char...
  2. Replies
    6
    Views
    2,621

    That grades[1] was just an error when posting. ...

    That grades[1] was just an error when posting.

    But you've been a HUGE help swoopy, thanks alot :) :) :)
  3. Replies
    6
    Views
    2,621

    wow I'm stupid.... I've never used malloc...

    wow I'm stupid....


    I've never used malloc before, how to I find out how to allocate enough memory? There are 11 pieces of data in the file.
  4. Replies
    6
    Views
    2,621

    and why does the same code work when I put in......

    and why does the same code work when I put in...

    grades[1].grade1 = 1


    does malloc just work for ints?
  5. Replies
    6
    Views
    2,621

    how to use malloc with a struct?

    Ok here is a portion of my code...




    struct studentGrades2
    {
    char lastName[30];
    char firstName[30];
    int grade1, grade2, grade3, grade4, grade5;
  6. Replies
    12
    Views
    1,644

    Thanks for your help. I'll put it in my program.

    Thanks for your help. I'll put it in my program.
  7. Replies
    12
    Views
    1,644

    Sorry guys for waisting your time. Windows made...

    Sorry guys for waisting your time. Windows made the name players.txt.txt

    grrrr, I knew it was something stupid.
  8. Replies
    12
    Views
    1,644

    The ipf returns a 0. Is this considered null? ...

    The ipf returns a 0. Is this considered null?

    I have the players.txt file in the same directory as the exe file. I know in visual basic it needs to be in a bin directory, is there something...
  9. Replies
    12
    Views
    1,644

    It compiles, but when I run it (with the...

    It compiles, but when I run it (with the players.txt file that contains only "10") I get the error
  10. Replies
    12
    Views
    1,644

    I took that out, I get the same error.

    I took that out, I get the same error.
  11. Replies
    12
    Views
    1,644

    File input/output question

    I have been slaving over this for hours. Why is the following code:



    #include <stdio.h>


    struct players
    {
    char name[100];
Results 1 to 11 of 11