•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 427,488 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,412 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 2844 | Replies: 6
![]() |
•
•
Join Date: Sep 2006
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
hey guys
I have to write this program and I really suck at it.
I need a doubly linked list which is ordered. I was told that I can pull one off the internet and just use it. Ive been looking for one but I cant find it, so I was wondering if any of you know a site or if any one of you already have code for this kinda lost.
I have to write this program and I really suck at it.
I need a doubly linked list which is ordered. I was told that I can pull one off the internet and just use it. Ive been looking for one but I cant find it, so I was wondering if any of you know a site or if any one of you already have code for this kinda lost. •
•
Join Date: Jun 2005
Location: Tokyo, Japan
Posts: 1,481
Reputation:
Rep Power: 8
Solved Threads: 102
•
•
Join Date: Sep 2006
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
post your program first. We don't just hand over source code for students expecting a quick solution and get a good grade. Or you can google yourself for source code.
my project is pretty long. the first step is to generate a bunch of random numbers and make sure they are between the range specified and unqiue. Then do a bunch of operations like insertng more numbers and stuff like that. Then i generate another random number file and see if any of those are in that file, if yes then i print the position (by printing the number before and after it) so the whole project has a lot with generating random numbers and I obviously need a linked list to do it. My prof said that we can use one online as long as we mention it on top and let her know that we havent written it, which is what i plan to do. I could write a linked list but its too time consuming. I looked up google but I coudlnt find one which is why i wanted to ask if any one of you might have one that I coudl use.
•
•
Join Date: Jun 2005
Location: Tokyo, Japan
Posts: 1,481
Reputation:
Rep Power: 8
Solved Threads: 102
Are you using C or C++? If you can use C++ there is the standard template library which has a doubly linked list. You can use that without a problem. If it is in C, then post the project with the work you have done up to now. I will post a link (no pun intended) for the doubly linked list in C.
バルサミコ酢やっぱいらへんで
Maybe take a peek in the Code Snippets?
•
•
Join Date: Sep 2006
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
hey i actually found it online(guess i need to learn to look better haa). thanks anyway
Just searching for the code to do something or to complete a project is no substitute for solving the problem by putting in your genuine effort. If you want to solve or make this project why not consider it as a fun exercise and try your own hand at it. If you still have problems, look at the code provided on some sites and try to learn from it. It you still have doubts regarding anything post your question here.
Just copy pasting the code and then completeing the project wont do you any good.
Just copy pasting the code and then completeing the project wont do you any good.
I don't accept change. I don't deserve to live.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Removing an item from head of linked list (C)
- help implementing singly linked list (C++)
- How to read in a sentence and insert in to linked list? (C++)
- Linked List using pointers (C++ ADT) (C++)
- Why doesn't this remove the last node in a linked list? (C++)
- Cannot figure out how to implement linked list and rbtree for a project! (Java)
- Linked List (C++)
- help by sorting a simply linked list (C)
Other Threads in the C++ Forum
- Previous Thread: How should I make a cast?
- Next Thread: newmat linker error



Linear Mode