User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Sep 2006
Posts: 3
Reputation: codeme is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
codeme codeme is offline Offline
Newbie Poster

Question Linked list

  #1  
Sep 10th, 2006
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2005
Location: Tokyo, Japan
Posts: 1,481
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Rep Power: 8
Solved Threads: 102
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: Linked list

  #2  
Sep 10th, 2006
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.
バルサミコ酢やっぱいらへんで
Reply With Quote  
Join Date: Sep 2006
Posts: 3
Reputation: codeme is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
codeme codeme is offline Offline
Newbie Poster

Re: Linked list

  #3  
Sep 10th, 2006
Originally Posted by WolfPack View Post
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.
Reply With Quote  
Join Date: Jun 2005
Location: Tokyo, Japan
Posts: 1,481
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Rep Power: 8
Solved Threads: 102
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: Linked list

  #4  
Sep 10th, 2006
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.
バルサミコ酢やっぱいらへんで
Reply With Quote  
Join Date: Apr 2004
Posts: 3,647
Reputation: Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light Dave Sinkula is a glorious beacon of light 
Rep Power: 17
Solved Threads: 144
Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: Linked list

  #5  
Sep 10th, 2006
Maybe take a peek in the Code Snippets?
Reply With Quote  
Join Date: Sep 2006
Posts: 3
Reputation: codeme is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
codeme codeme is offline Offline
Newbie Poster

Re: Linked list

  #6  
Sep 10th, 2006
Originally Posted by Dave Sinkula View Post
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
Reply With Quote  
Join Date: Jun 2006
Location: India
Posts: 6,863
Reputation: ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold 
Rep Power: 23
Solved Threads: 344
Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Lazy, Useless & Apathetic

Re: Linked list

  #7  
Sep 11th, 2006
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.
I don't accept change. I don't deserve to live.

Happiness corrupts people.

Failing to value the lives of others cheapens your own.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C++ Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C++ Forum

All times are GMT -4. The time now is 6:57 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC