Search:

Type: Posts; User: nkbxwb

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    10,937

    Are the coding techniques used to implement...

    Are the coding techniques used to implement advanced/complicated? I'm just wondering why he only spent like 10 minutes on it.
  2. Replies
    4
    Views
    10,937

    Hashing advantages/disadvantages

    We just learned in class about hashing and searching. Our teacher spent very little time on this though. It seems like he just threw it in on the last lesson before the final.

    From what he...
  3. Question about adding to a BST with * and **

    Hello,

    So, I wrote a code last week using pointer to a pointer to add a node to a BST



    orest addTree(Forest *root, int val)
    {
    if (*root== NULL)
    {
  4. Replies
    19
    Views
    3,095

    I have ubuntu and I use that sometimes, but the...

    I have ubuntu and I use that sometimes, but the vim I use is through my university. We operate on windows 7, and use PuTTY to log on, and then use vim from there.
  5. Replies
    19
    Views
    3,095

    What I mean by this is: Is there any program that...

    What I mean by this is: Is there any program that is an IDE that can help me step into and debug my program. I know you can do it in visual studio, but it is a pain in the ass. You have to change...
  6. Replies
    19
    Views
    3,095

    What are some other editors that you would...

    What are some other editors that you would recommend? Is there anything like microsoft visual studio, but for c?
  7. Replies
    19
    Views
    3,095

    Seeing more with VIM

    Hello,

    I have a long list of numbers that I am doing a lot with. I want to print them out after every operation, to ensure that I have done the operation correctly. I am using VIM, but it seems...
  8. Efficiently adding to the end of a linked ist

    Hey,

    I have a code that works fine, but I have a question about efficiency.

    Here is a snippet of my code



    void insert_at_end ( listNode * ptr, int data )
    {
  9. Replies
    1
    Views
    2,462

    Proper use of memcpy

    Hello,

    I have a linked list that I would like to split in half, using memcpy. I've looked online for a bit of help with memcpy, but nothing seems to be of much help.

    What I want to do is this....
  10. Replies
    4
    Views
    3,249

    I send the printing function the head, and ask it...

    I send the printing function the head, and ask it to print. So printing out, I'd assume, means that the head was not cleared. I tried inserting head into that while loop, but I got a segfault. I...
  11. Replies
    4
    Views
    3,249

    Freeing a doubly (circular) linked list

    Hey,

    I have a circular linked list, and I'd like to fee the memory that I've malloc'd .

    I tried doing this



    listnode temp;
    listnode current=NULL;
  12. Replies
    3
    Views
    2,898

    Thank you so much, that really did help. I wrote...

    Thank you so much, that really did help. I wrote in the code that you said, and then drew out a memory diagram, and saw how what you said was correct!

    Can you elaborate on what you mean by not...
  13. Replies
    3
    Views
    2,898

    Linked list, Head pointing to second node

    Hey guys,

    I am writing a code using linked lists, and everything seems to be working fine, other than the fact that although I want my head to be pointing to the first node, it points to the...
Results 1 to 13 of 13