Search:

Type: Posts; User: bandicoot

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    8,183

    Yeah, after the initial 5-15 I'm supposed to add...

    Yeah, after the initial 5-15 I'm supposed to add one at a time if they pick the second option, and later delete them if they select the third option.
  2. Replies
    14
    Views
    8,183

    Thanks for looking over my code. My current...

    Thanks for looking over my code.

    My current menu is wrong, I commented it out but forgot to remove it before posting my code here. I'm supposed to do a bunch of varying tasks, but this is the...
  3. Replies
    14
    Views
    8,183

    He specified the variables he wanted us to use...

    He specified the variables he wanted us to use and gave us these, and said we should not add any other arrays or structs.

    I do want only 1 array per student.

    Could you explain how to change...
  4. Replies
    14
    Views
    8,183

    Sorry I should have specified. My teacher...

    Sorry I should have specified. My teacher specifically said no structs and no arrays.

    I retrieve the grades and names in main starting on line 92. I'm adding students in both the main function and...
  5. Replies
    14
    Views
    8,183

    I wish I could but this is for an assignment so...

    I wish I could but this is for an assignment so I'm required to use pointers. Here is the rest of the code:
    #include<stdio.h>#include<string.h>
    #include<stdlib.h>
    #include<stdlib.h>

    //prints...
  6. Replies
    14
    Views
    8,183

    Problems with Malloc

    I'm trying to use malloc to increase the size of 3 dynamic arrays, but it keeps crashing as soon as it enters the first for loop. count is a pointer to an int holding the total nomber of records...
Results 1 to 6 of 6