943,664 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 4477
  • C++ RSS
Sep 10th, 2006
1

Linked list

Expand Post »
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.
Reputation Points: 13
Solved Threads: 0
Newbie Poster
codeme is offline Offline
3 posts
since Sep 2006
Sep 10th, 2006
0

Re: Linked list

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.
Moderator
Reputation Points: 572
Solved Threads: 115
Mentally Challenged Mod.
WolfPack is offline Offline
1,559 posts
since Jun 2005
Sep 10th, 2006
0

Re: Linked list

Click to Expand / Collapse  Quote originally posted by WolfPack ...
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.
Reputation Points: 13
Solved Threads: 0
Newbie Poster
codeme is offline Offline
3 posts
since Sep 2006
Sep 10th, 2006
0

Re: Linked list

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.
Moderator
Reputation Points: 572
Solved Threads: 115
Mentally Challenged Mod.
WolfPack is offline Offline
1,559 posts
since Jun 2005
Sep 10th, 2006
1

Re: Linked list

Maybe take a peek in the Code Snippets?
Team Colleague
Reputation Points: 2780
Solved Threads: 312
long time no c
Dave Sinkula is offline Offline
4,790 posts
since Apr 2004
Sep 10th, 2006
0

Re: Linked list

Maybe take a peek in the Code Snippets?
hey i actually found it online(guess i need to learn to look better haa). thanks anyway
Reputation Points: 13
Solved Threads: 0
Newbie Poster
codeme is offline Offline
3 posts
since Sep 2006
Sep 11th, 2006
1

Re: Linked list

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.
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 719
Failure as a human
~s.o.s~ is offline Offline
8,871 posts
since Jun 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: How should I make a cast?
Next Thread in C++ Forum Timeline: newmat linker error





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC