Search:

Type: Posts; User: sdbuilt

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    2,290

    Oh I see what you mean. You mean the...

    Oh I see what you mean. You mean the insertFunction should insert the first member of the list and then the second etc instead of having those things already set up in main. Got ya. Yeah that makes...
  2. Replies
    8
    Views
    2,290

    Huh? My program doesn't crash.. It removes the...

    Huh? My program doesn't crash.. It removes the desired entry from the list as long as it isn't the first entry. I am not worried about that corner case I am just trying to understand the concepts. I...
  3. Replies
    8
    Views
    2,290

    Well I solved it .. no thanks to you guys! Lol...

    Well I solved it .. no thanks to you guys! Lol j/k. Here is what I put.



    void removeEntry (struct entry *remove)
    {
    remove->previous->next = remove->next;
    }
  4. Replies
    8
    Views
    2,290

    I understand that my remove function just changes...

    I understand that my remove function just changes the pointer to the previous entry, and not the actual entry itself. How can I actually change the previous entry though so that its .next is the same...
  5. Replies
    8
    Views
    2,290

    remove entry from doubly linked list

    Hello, I am trying to delete an entry from a doubly linked list, where the function takes a pointer to the entry to be removed as its argument. I have tried various different things, and I can get...
  6. Replies
    6
    Views
    1,418

    sorry I just read this.. the solution was that I...

    sorry I just read this.. the solution was that I was not inputting the initial values into the main function right. I thought that I type ./caesar and press enter and then it will prompt me for the...
  7. Replies
    6
    Views
    1,418

    I figured it out never mind. Anyone know how to...

    I figured it out never mind. Anyone know how to delete a post?
  8. Replies
    6
    Views
    1,418

    ok so I replaced the getString portion of the...

    ok so I replaced the getString portion of the code with simply declaring a string called "word". That way I could determine if that was the issue. Apparently it is not because I am still getting a...
  9. Replies
    6
    Views
    1,418

    Simple Caesar cyptography

    Hey guys I am working on implementing a simple cryptography program called Caesar. I got this program to work perfectly when I was writing a function to handle the cryptography and just declaring the...
  10. oh ok duh that worked thanks

    oh ok duh that worked thanks
  11. Probably super easy but can't figure it out..

    I am trying to come up with a function that receives as input an integer and then prints out a string based off the integer received. For example, I want it to receive '0' and print out "one." Here...
  12. Replies
    7
    Views
    1,815

    perfecto.. I got it now thanks christop. Don't...

    perfecto.. I got it now thanks christop. Don't know why I put j = 1 in the loop itself. I appreciate your help.
  13. Replies
    7
    Views
    1,815

    Considering I am not even at pointers yet, I want...

    Considering I am not even at pointers yet, I want to do it myself at as low level as possible. One of the problems I am running into is that when I google atof I am not quite sure what I am looking...
  14. Replies
    7
    Views
    1,815

    Finding how a function works..

    Say I want to look into the details of how a function works because I have been trying to come up with my own version of it and it is falling short.. how would I do that?

    For example the atof()...
  15. Replies
    36
    Views
    6,764

    Gotcha thanks for your help.

    Gotcha thanks for your help.
  16. Replies
    36
    Views
    6,764

    Any idea how I could terminate the loop right...

    Any idea how I could terminate the loop right when I get to the null character but include the null character? Or do I have to just add it in manually like I am doing now and like you suggested?
  17. Replies
    36
    Views
    6,764

    Ding ding ding! And the winner is Matticus!!!...

    Ding ding ding! And the winner is Matticus!!! Thanks for your fresh eyes man. You have solved it! It works perfectly now.
  18. Replies
    36
    Views
    6,764

    first of all thanks for your help adak :) I went...

    first of all thanks for your help adak :) I went ahead and renamed remove to remove1. Still no go. Also, I went ahead and did the printf of the source last night and it puts it in in the removeString...
  19. Replies
    36
    Views
    6,764

    Ok I did as you said and tried that code.. (I had...

    Ok I did as you said and tried that code.. (I had to take out the "i" variable in main as it was not used but it compiled after that).. after trying to use s1 as both "1" and "two" and s2 as both...
  20. Replies
    36
    Views
    6,764

    bumpety bump!

    bumpety bump!
  21. Replies
    36
    Views
    6,764

    also, I don't use prototypes because I do not...

    also, I don't use prototypes because I do not know what they are.. I just started learning programming and I am going straight from what they teach me in the book I got (Programming in C by Kochan)
  22. Replies
    36
    Views
    6,764

    adak:The code you posted in post #21 ends up...

    adak:The code you posted in post #21 ends up having the same problems that I have.. i.e it terminates in a bunch of crazy weird characters instead of a clean null character. Andreas: I went ahead and...
  23. Replies
    36
    Views
    6,764

    I see that I get these weird values after the...

    I see that I get these weird values after the removeString function so I am going to work on that one so that I get a solid '\0' at the end.. If you have any ideas how to fix that function I am all...
  24. Replies
    36
    Views
    6,764

    I am not sure what compiler you are talking about...

    I am not sure what compiler you are talking about or how to use it. I definitely would like to use it if you give me some more info.. I am using the make compiler and it didnt catch that count1 was...
  25. Replies
    36
    Views
    6,764

    OK so I am trying to test it like you said, and...

    OK so I am trying to test it like you said, and the first place I can check for what is in my source string is after running it through the findString function in the replaceString function. I leave...
Results 1 to 25 of 50
Page 1 of 2 1 2