Search:

Type: Posts; User: killmequick

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    931

    Linklist cleaning HELP

    hello all, im having some trouble trying to figure out the problem and why this program is not working correctly. I have two linklists built from two infiles. Some of the names in my first list are...
  2. Replies
    4
    Views
    1,194

    Clean list function

    okay..so basically what i have is two linked lists(link1, link2) and link2 contains all of the values stored in link1. What i need to do is use string compare to clean the big list free of everything...
  3. Replies
    5
    Views
    1,187

    nvm i got that fixed but i must have an error in...

    nvm i got that fixed but i must have an error in my building of the list because when i return top and print the list only the last thing in the infile prints.
  4. Replies
    5
    Views
    1,187

    i then get an error on line 44 saying stream !=...

    i then get an error on line 44 saying stream != NULL
  5. Replies
    5
    Views
    1,187

    JIT Debugger Error Help

    Here is my error.. any clues?

    http://i20.photobucket.com/albums/b221/xkillm3quickx/Untitled-1.jpg




    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
  6. Replies
    23
    Views
    2,444

    but i could pass the two different infiles...

    but i could pass the two different infiles in..got it. but say i wanted to use string compare to remove copied names out of one list that are in the other..is there any special approach to that or...
  7. Replies
    23
    Views
    2,444

    kk so i have it to build my list, quick...

    kk so i have it to build my list, quick question(if i do all the same things to build a separate list can i return two values under two different names(ie: return(top, top2)
  8. Replies
    23
    Views
    2,444

    so the call would be something similiar to: ...

    so the call would be something similiar to:



    result = build_list(top) ??
  9. Replies
    23
    Views
    2,444

    so using that case how would i call the function

    so using that case how would i call the function
  10. Replies
    23
    Views
    2,444

    well with the fixed corrections im only getting...

    well with the fixed corrections im only getting one error at the return saying i cannot convert from an info_node* to int..


    int build_list(struct info_node* pnode)
    {

    FILE* infile ;
    struct...
  11. Replies
    23
    Views
    2,444

    well so far this is the addition ive made im just...

    well so far this is the addition ive made im just using test code to see if i can get it to print out before i implement my official list. Can someone give me a hint as to how i can return the value...
  12. Replies
    23
    Views
    2,444

    so basically just shove this into my function and...

    so basically just shove this into my function and that works?

    struct info_node
    {
    char fname[20] ;
    char lname[20] ;
    int rank ;
    float score ;
    struct info_node * next ;
    } ;
  13. Replies
    23
    Views
    2,444

    right. i get the idea but how am i supposed to...

    right. i get the idea but how am i supposed to build the list if i dont have a pointer to the structure?
  14. Replies
    23
    Views
    2,444

    im still having trouble understanding how to get...

    im still having trouble understanding how to get this function to work properly, so instead of passing a pointer to a pointer i can remove the struct info node pointer, build the list and return a...
  15. Replies
    23
    Views
    2,444

    so basically send a pointer to malloc from main...

    so basically send a pointer to malloc from main into my function and work from there? Will the infile scan work inside of the function if i do that?
  16. Replies
    23
    Views
    2,444

    kk i think i get what you mean there but lets say...

    kk i think i get what you mean there but lets say i declare the FILE* infile inside of my function would that still be a problem?
  17. Replies
    23
    Views
    2,444

    Link list function call

    hello im having some trouble in my function call here.. what i am trying to accomplish is to build a linked list in a function and send the link back to main. Can anyone sort out my problem?(i think...
  18. Replies
    10
    Views
    1,608

    haha sorry master, the code works well but i...

    haha sorry master, the code works well but i would rather learn then copy and paste :D.
  19. Replies
    10
    Views
    1,608

    tabstop..do you think i should be including...

    tabstop..do you think i should be including getting the block of memory and the scanning of the infile inside this function?
  20. Replies
    10
    Views
    1,608

    nothing.. i need it to be in a function though

    nothing.. i need it to be in a function though
  21. Replies
    10
    Views
    1,608

    Function call to linked list

    hello..i was wondering if anyone could take a look at my code which makes two linked lists from infiles. the lists work fine as i have tested printing them out i just need help to make a function...
  22. well specifically the errors are: ...

    well specifically the errors are:


    Warning 1 warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE....
  23. evaluate postfix expressions read from infile

    hello im pretty sure im on the right track but i get errors in my code that cannot convert strings op1 and op2 and such can anyone help?



    # include <stdio.h>
    # include <stdlib.h>
    # include...
  24. Replies
    7
    Views
    3,996

    well i thank you i understand what is going...

    well i thank you i understand what is going on..but one more question. how can i modify my stack to work with integers
  25. Replies
    7
    Views
    3,996

    i understand the logic and how postfix...

    i understand the logic and how postfix expressions in the stack work..its translating that to code is what im having trouble with
Results 1 to 25 of 43
Page 1 of 2 1 2