Search:

Type: Posts; User: needhelpbad

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    46
    Views
    4,682

    so, i know im asking a lot, but does this all...

    so, i know im asking a lot, but does this all look conceivable and working to you?



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

    struct SLL {
    int val;
    struct SLL * next;
  2. Replies
    46
    Views
    4,682

    lol but i'm not even a fraction knowledgeable...

    lol but i'm not even a fraction knowledgeable about this stuff as much as you guys who help me! thats why im just asking you're opinion if you agree! lol :)
  3. Replies
    46
    Views
    4,682

    my professor is trying to have us do this...

    my professor is trying to have us do this analytically and not use a compiler to check for our mistakes, so I am basically doing this in notepad and trying to see if i notice anything that would go a...
  4. Replies
    46
    Views
    4,682

    Alright.. so far I have this which I think is for...

    Alright.. so far I have this which I think is for the most part.. correct.



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

    struct SLL {
    int val;
    struct SLL * next;
  5. Replies
    46
    Views
    4,682

    using the list function I already had made a lot...

    using the list function I already had made a lot more sense than using n, so I changed that.. but im nto really sure how I should go about initializing p.. i thought it was already



    ...
  6. Replies
    46
    Views
    4,682

    Sorry, I wasn't kidding when I mentioned I was...

    Sorry, I wasn't kidding when I mentioned I was slow at this.. heh. Hows this look;



    // If the node is not the starting or the last one
    void delete(int...
  7. Replies
    46
    Views
    4,682

    Yea I figured the red was going to be able to...

    Yea I figured the red was going to be able to handle it, but wasn't positive. And with you mentioning that I am missing that from my delete function, are you insinuating that it is such a situation...
  8. Replies
    46
    Views
    4,682

    so tell me if im understanding this correctly.. ...

    so tell me if im understanding this correctly..

    first off.. wouldnt the highlighted text kind of be a check for falling off the end of the list?

    and secondly, if i am completely wrong, i added...
  9. Replies
    46
    Views
    4,682

    aside from what ive said above.. how would i...

    aside from what ive said above..

    how would i throw in the exceptions for empty and repeat nodes?
  10. Replies
    46
    Views
    4,682

    where is the issue that would cause that to...

    where is the issue that would cause that to happen in the code?

    im not recognizing where n being large would have an issue..
  11. Replies
    46
    Views
    4,682

    do the last two codings look concievable to...

    do the last two codings look concievable to anyone?
  12. Replies
    46
    Views
    4,682

    while waiting for assistance from you actually...

    while waiting for assistance from you actually knowledgeable people.. :P

    I decided I would try and make a flat example of how I believe the deletion would work, tell me if this also looks correct...
  13. Replies
    46
    Views
    4,682

    does that make more sense?

    does that make more sense?
  14. Replies
    46
    Views
    4,682

    i looked through my notes back and front and...

    i looked through my notes back and front and couldnt find anything about his struct that he created, seems he just referred to it without really showing it...

    so i thought id try and do a fresh...
  15. Replies
    46
    Views
    4,682

    to be honest, i never really understood what my...

    to be honest, i never really understood what my professor was doing with liData either. But I have no idea what else I would use in place of what its doing, so I supposed I would just use it blindly
  16. Replies
    46
    Views
    4,682

    I see the missing } you speak of, and that can be...

    I see the missing } you speak of, and that can be fixed easily. but why don't you believe my "for" loop interates at all? am i missing something blatantly obvious?
  17. Replies
    46
    Views
    4,682

    anyone see issues in this code? im still too new...

    anyone see issues in this code? im still too new at this..
  18. Replies
    46
    Views
    4,682

    alright, so heres my coding that ive come up with...

    alright, so heres my coding that ive come up with so far including the insert.. tell me where im completely wrong, since i am sure i am.



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

    struct SLL {
    ...
  19. Replies
    46
    Views
    4,682

    ahh my bad, guess i just wasn't paying attention...

    ahh my bad, guess i just wasn't paying attention to the terminology, or thinking about it clearly.

    ill post what i would think would be the insert function soon
  20. Replies
    46
    Views
    4,682

    now, im sorry how newb this is right now, but the...

    now, im sorry how newb this is right now, but the allocating memory idea sounds a bit out of my league, because im not exactly sure how or what to do to do so..
  21. Replies
    46
    Views
    4,682

    okay i can do that :) now, for the functions...

    okay i can do that :)

    now, for the functions of search and insert and so on, do i create all new structs, or do i slip the code inside? id assume each action would get its own struct, but not...
  22. Replies
    46
    Views
    4,682

    what would i do in place of using void main()? ...

    what would i do in place of using void main()?

    and thank you for the compliments of the sound procedure, the hard part for me is taking it from the procedure to actual code :P that's where I am...
  23. Replies
    46
    Views
    4,682

    Okay, so, I think I have proper code here for...

    Okay, so, I think I have proper code here for creating the linked list;



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

    struct SLL {
    int val;
    struct SLL * next;
  24. Replies
    46
    Views
    4,682

    Linked Lists problem

    Hi :)

    So I am pretty new with C, but I know a little.. I have been here before and had great help from you guys so I thought I would try it again.

    I need to create code for a Sorted Linked List...
  25. Replies
    80
    Views
    32,427

    Don't get me wrong, that is great work and more...

    Don't get me wrong, that is great work and more than I could ever do, but does that kind of situation where the record isn't in the data but in the transactions come up in the assignment?
Results 1 to 25 of 62
Page 1 of 3 1 2 3