Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 3rd, 2008, 10:43 AM   #1
sjavan
Newbie
 
Join Date: Dec 2008
Posts: 1
Rep Power: 0 sjavan is on a distinguished road
Question bankers algorithm

Hi,
I want to implement a bankers algorithm .
How can I do it ?
sjavan is offline   Reply With Quote
Old Dec 3rd, 2008, 10:46 AM   #2
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Google / Kitchener
Posts: 4,154
Rep Power: 15 Sane has a spectacular aura aboutSane has a spectacular aura about
Send a message via MSN to Sane
Re: bankers algorithm

http://en.wikipedia.org/wiki/Banker's_algorithm

What do you want me to say? First step is research. Second step is code. The link I gave you (which was incidentally the first hit on Google) even has an implementation written in C!
__________________
PFO's Folding@Home Team | Sane's Monthly Algorithms Challenges
Rules | How to Post a Question | How to Post Code

Becoming a good programmer requires foresight of your code's execution.
Becoming an excellent programmer requires foresight of your code's modification.
Sane is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
prim's algorithm cwl157 C++ 7 Apr 18th, 2006 8:45 PM
algorithm of fast exponentiation MicRo C++ 1 Mar 12th, 2006 5:29 PM
SpcFileWipe algorithm in Secure Programming Cookbook not working c0ldshadow C++ 1 Aug 7th, 2005 7:40 PM
rsa encrption decrption algorithm justdoit C 2 May 4th, 2005 9:16 AM
Help with some algorithm questions mapster123 Assembly 3 Feb 14th, 2005 4:55 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:31 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC