Search:

Type: Posts; User: redmondtab

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    48
    Views
    11,973

    what am i doing worng. I cant get the file to go...

    what am i doing worng. I cant get the file to go into the insert linnked list any ideas
    /****************************************************************
    FILE NAME: lab4.cpp
    DESCRIPTION: This...
  2. Replies
    48
    Views
    11,973

    ;) Im getting this error can someone help me...

    ;) Im getting this error can someone help me please
    117 H:\lab4a.cpp invalid conversion from `void*' to `PERSON*' the orange line is where im getting the error
    ...
  3. Replies
    48
    Views
    11,973

    how do i do that. Im using the dev-c ++ complier

    how do i do that. Im using the dev-c ++ complier
  4. Replies
    48
    Views
    11,973

    know i get the error 87 H:\lab4a.cpp invalid...

    know i get the error 87 H:\lab4a.cpp invalid conversion from `void*' to `PERSON*'
    STU = malloc(sizeof *STU);
  5. Replies
    48
    Views
    11,973

    so I wnat the fgets to read the who ling. THe way...

    so I wnat the fgets to read the who ling. THe way I have it
    fgets(STU->FName,sizeof(STU->FName),stdin);[code] I;m only reading the first name and not my whol structure. SO i need to change it to ...
  6. Replies
    48
    Views
    11,973

    im very new at this. And it is a little hard to...

    im very new at this. And it is a little hard to understand on my own. THe book that i have dose not help me out to much. Some times it makes it worse.
  7. Replies
    48
    Views
    11,973

    fgets(STU->FName,sizeof(STU->FName),stdin); is...

    fgets(STU->FName,sizeof(STU->FName),stdin);
    is says to get it but it dose not allicatit. so i should change it to
    fgets(STU->FName),malloc(sizeof(STU->FName),stdin);
    so that it gets it and...
  8. Replies
    48
    Views
    11,973

    STU= (struct person_t )...

    STU= (struct person_t ) malloc(sizeof(lperson_t))[code] that means that I should change this line to the malloc line right

    [code]assert(STU != NULL);
  9. Replies
    48
    Views
    11,973

    so what i need its LName = (struct person_t )...

    so what i need its
    LName = (struct person_t ) malloc(sizeof(lperson_t)) so need to have this definned. and i have to have it as something as well right but that needs to be defined in the...
  10. Replies
    48
    Views
    11,973

    I know that I'm missing that part. sorry. Trying...

    I know that I'm missing that part. sorry. Trying to figure out where I should do that. I know that I need a macoll statement. Just not to sure where in the progrma i need to add it. I think that...
  11. Replies
    48
    Views
    11,973

    i did put the void in. but I'm still having the...

    i did put the void in. but I'm still having the same issue. Im not putting the data into the insertNode function.
  12. Replies
    48
    Views
    11,973

    so instead of if i would do strcmp(Here->LName...

    so instead of if i would do
    strcmp(Here->LName ,Node->LName) thatis here my if sttement was. thisis how ichanged it in the code. I still do nto see it going into the funcation. am i wrong fro...
  13. Replies
    48
    Views
    11,973

    So what you are saying is that while ( (Here...

    So what you are saying is that
    while ( (Here != NULL) &&(Here->LName < Node->LName) )

    if (Here->LName > Node->LName i should be using strcmp to compare the two. Not to sure how to write...
  14. Replies
    48
    Views
    11,973

    Yes that is what I'm trying to do. So I need to...

    Yes that is what I'm trying to do. So I need to make sure that the data is also in alphabetic order. So i enter in the data it looks at whats there and then prints it to the file in the order. Or...
  15. Replies
    48
    Views
    11,973

    i changed the code. I know that I'm still having...

    i changed the code. I know that I'm still having an issues reading the last name into the lineked list. Do i need to do a funcation that inserts it or do the ordered funcation i have do that for...
  16. Replies
    48
    Views
    11,973

    Im not getting errors at this point. my biggets...

    Im not getting errors at this point. my biggets problem is that I can't get my InsertNode to run. OR print. I have tryed to create a print funation to put after my insert node. ANd the system did...
  17. Replies
    48
    Views
    11,973

    i need help with getting the data into the...

    i need help with getting the data into the insertnode funstion. this is what i have


    #include <assert.h>
    #include <stdio.h>
    #include <stdlib.h>

    #define Nlen 26

    typedef struct person_t...
  18. Replies
    48
    Views
    11,973

    so i need to add it like this this is ho that it...

    so i need to add it like this this is ho that it will pass the last name to the next node right.
    i think I hace to define it in this funcation. But when i do it as *Next. It is gives me erroe...
  19. Replies
    48
    Views
    11,973

    I get about 30 error messages. I know that there...

    I get about 30 error messages. I know that there is a differnt way to wrote this linked like. This way i only get the error that NExt is not defined any ideas

    #include <assert.h>
    #include...
  20. Replies
    48
    Views
    11,973

    ordered linked list

    what to know if im on the right track for this ordered linked list ias i get each record i want to insert it into the linked list in order.



    #include <assert.h>
    #include <stdio.h>
    #include...
  21. Replies
    38
    Views
    5,503

    ok Im still lost. Im trying to use a sort linked...

    ok Im still lost. Im trying to use a sort linked list any ideas of why it is not working
    #include <assert.h>
    #include <stdio.h>
    #include <stdlib.h>

    #define Nlen 26

    typedef struct...
  22. Replies
    10
    Views
    2,450

    i can enter in the data. But the do while...

    i can enter in the data. But the do while statment is not working. I'm still not able to put the data into the array. Any ideas. what I do is enter in the data. And the Index stays the same ever...
  23. Replies
    10
    Views
    2,450

    i should that the number that is in the array and...

    i should that the number that is in the array and sort it ArrayInput[Index]. so i need to take out my returns in the Linked list
  24. Replies
    10
    Views
    2,450

    I changed to code but all that i can go though...

    I changed to code but all that i can go though it till i say no and then it shows a bunch of number and then closes right away
    /************************************************************...
  25. Replies
    38
    Views
    5,503

    ok know it will read the fil. I'm know having...

    ok know it will read the fil. I'm know having issues. saving it to a linked list with arrays . i pulled the example online. So I know that im missing items. Help please. Or should i do the sort...
Results 1 to 25 of 104
Page 1 of 5 1 2 3 4