Are the coding techniques used to implement advanced/complicated? I'm just wondering why he only spent like 10 minutes on it.
Type: Posts; User: nkbxwb
Are the coding techniques used to implement advanced/complicated? I'm just wondering why he only spent like 10 minutes on it.
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...
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)
{
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.
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...
What are some other editors that you would recommend? Is there anything like microsoft visual studio, but for c?
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...
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 )
{
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....
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...
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;
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...
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...