Search:

Type: Posts; User: jeanermand

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    5,940

    K so I managed to successfully get all the data I...

    K so I managed to successfully get all the data I wanted into the structure


    int getData (FILE* fpData, STU* pData)
    {
    // Local Definitions
    int ioResult;
    char temp[MAX_SIZE];
    ...
  2. Replies
    5
    Views
    5,940

    MAX_SIZE is initialized to 1000.. I know I...

    MAX_SIZE is initialized to 1000..

    I know I need to make some more changes because I also need to dynamically allocate memory for the names before I initialize them
  3. Replies
    5
    Views
    5,940

    First try

    So here's how I've implemented it thus far:


    int getData (FILE* fpData, STU* pData)
    {
    // Local Definitions
    int ioResult;
    char temp[MAX_SIZE];

    // Statements
  4. Replies
    5
    Views
    5,940

    Reading Data From File to Linked List

    The data from the text file looks like:
    40T Trapp, Dave; 3.9
    pin# Last_Name, First_Name; gpa

    I am trying to read them into a linked list composed of the structure:


    typedef struct
    {
    ...
Results 1 to 4 of 4