Search:

Type: Posts; User: rasmith1955

Search: Search took 0.01 seconds.

  1. I'm not giving up, that was frustration...

    I'm not giving up, that was frustration talking...I'll check the FAQ thank you, I think the problem is actually that I'm not capturing the values in the read function. When the function exits the...
  2. I give up, I think I will write any additions to...

    I give up, I think I will write any additions to the courseList to a temp file and reread them into memory before I display them. I can't get past the bad ptr error.
  3. Course_ptr = (Stud1_ptr->CourseList); This...

    Course_ptr = (Stud1_ptr->CourseList);


    This works! Getting closer....
  4. With the addition of a pointer on the Course...

    With the addition of a pointer on the Course struct:


    typedef struct Course {
    char Number [NumSize + 1]; /*Course Number*/
    char Section [SecSize + 1]; /*Course Section*/
    int Units; /*Course...
  5. I'll try your suggestion quzah, thank you

    I'll try your suggestion quzah, thank you
  6. That does give a runtime error in VC++, bad...

    That does give a runtime error in VC++, bad pointer....I'm lost again...oh well
  7. This does not give an error: printf ("Number is...

    This does not give an error:
    printf ("Number is %s\n", Stud1_ptr->CourseList->Number);

    Now why does it return null? Continuing...
  8. trying to declare a new pointer to work with...

    trying to declare a new pointer to work with gives a compiler error:
    Course_T *C_ptr;
    C_ptr = CourseList;

    Trying to decale a pointer on the fly gives a "Start undeclared ":
    Start =...
  9. Thanks for the input, actually, I see now that...

    Thanks for the input, actually, I see now that CourseList is already a pointer to the list.... I'm still confused. But will post what I try and what works or doesn't. This is a test program so the...
  10. linked list inside array of structs- Syntax question

    I have a linked list inside an array of structs:


    typedef struct Course {
    char Number [NumSize + 1];
    char Section [SecSize + 1];
    int Units;
    struct Course *Next;
    } Course_T;
Results 1 to 10 of 10