Member Avatar

Hello. I am having a tough time understanding the concept of double linked list. For now, i understand double linked list has 2 links, one forward and another one previous. data is in the middle. when inserting must check where to insert. if previous is equal to null, then can insert it to previous. Set the previous to be equal to the newly allocated node. I am looking to do a bubble sort using double linked list. I want to understand the concept first then I can do it. Can someone give some usefule links or explain me the concept? …

Member Avatar
0
9
Member Avatar

Hello. I was searching on how to copy the string from the first point in the file to the index of comma -1. I have a .mrk file that i would be reading. My idea is that the loop will go through the file and find the comma. There will be a counter to check the num of characters. When found, the first char to char at index of comma-1 is copied to a seperate array. But i do not know how to implement this. This is my code: FILE *check = fopen("check.mrk","r"); if (check == 0) { printf("Could not …

Member Avatar
0
10
Member Avatar

Hello. I am new to this forum. I want to know exactly how long does any posts gets replies here.How long does a post stay in this forum. Does it get deleted after a period of time??. Thank you.

Member Avatar
0
5

The End.