Click here to Skip to main content
15,899,679 members
Home / Discussions / Algorithms
   

Algorithms

 
QuestionUsing CompareExchange to synthesize bigger atomic operations Pin
supercat912-Jul-08 12:54
supercat912-Jul-08 12:54 
QuestionJava Algorithms Pin
benjamin yap11-Jul-08 7:38
benjamin yap11-Jul-08 7:38 
AnswerRe: Java Algorithms Pin
Alan Balkany11-Jul-08 9:14
Alan Balkany11-Jul-08 9:14 
AnswerRe: Java Algorithms Pin
Paul Conrad11-Jul-08 10:31
professionalPaul Conrad11-Jul-08 10:31 
GeneralRe: Java Algorithms Pin
Luc Pattyn11-Jul-08 10:56
sitebuilderLuc Pattyn11-Jul-08 10:56 
GeneralRe: Java Algorithms Pin
Paul Conrad11-Jul-08 10:58
professionalPaul Conrad11-Jul-08 10:58 
QuestionRandom number generator Pin
Kwanalouie10-Jul-08 9:17
Kwanalouie10-Jul-08 9:17 
AnswerRe: Random number generator [modified] Pin
Scorch10-Jul-08 10:03
Scorch10-Jul-08 10:03 
Most use time and try to obfuscate it beyond recognition with formulas...no idea if there's a "standard" formula for it though. Use "include ctime" and use srand(time()) . (Just search for random number generator in google and you can probably find source code for one...)
If you're trying to figure out how to cheat at poker games you'll have to figure out what formula they're using Laugh | :laugh: .

modified on Thursday, July 10, 2008 4:11 PM

AnswerRe: Random number generator Pin
Luc Pattyn10-Jul-08 13:08
sitebuilderLuc Pattyn10-Jul-08 13:08 
AnswerRe: Random number generator Pin
Mark Churchill10-Jul-08 14:47
Mark Churchill10-Jul-08 14:47 
AnswerRe: Random number generator Pin
cp987611-Jul-08 0:44
cp987611-Jul-08 0:44 
AnswerRe: Random number generator Pin
yassir hannoun19-Jul-08 2:42
yassir hannoun19-Jul-08 2:42 
GeneralRe: Random number generator Pin
PIEBALDconsult9-Aug-08 19:28
mvePIEBALDconsult9-Aug-08 19:28 
GeneralRe: Random number generator Pin
yassir hannoun9-Aug-08 23:39
yassir hannoun9-Aug-08 23:39 
GeneralRe: Random number generator Pin
PIEBALDconsult10-Aug-08 3:10
mvePIEBALDconsult10-Aug-08 3:10 
QuestionFormatting text to a pyramid shape Pin
KaptinKrunch9-Jul-08 10:09
KaptinKrunch9-Jul-08 10:09 
AnswerRe: Formatting text to a pyramid shape Pin
Alan Balkany11-Jul-08 9:23
Alan Balkany11-Jul-08 9:23 
QuestionInverse of NORMSDIST function Pin
sumit70343-Jul-08 18:10
sumit70343-Jul-08 18:10 
AnswerRe: Inverse of NORMSDIST function Pin
Dan3-Jul-08 18:12
Dan3-Jul-08 18:12 
GeneralRe: Inverse of NORMSDIST function Pin
sumit70343-Jul-08 18:38
sumit70343-Jul-08 18:38 
GeneralRe: Inverse of NORMSDIST function Pin
73Zeppelin3-Jul-08 21:34
73Zeppelin3-Jul-08 21:34 
AnswerRe: Inverse of NORMSDIST function Pin
cp98763-Jul-08 18:43
cp98763-Jul-08 18:43 
GeneralRe: Inverse of NORMSDIST function Pin
sumit70343-Jul-08 19:40
sumit70343-Jul-08 19:40 
GeneralRe: Inverse of NORMSDIST function Pin
cp98763-Jul-08 19:51
cp98763-Jul-08 19:51 
AnswerRe: Inverse of NORMSDIST function Pin
73Zeppelin3-Jul-08 21:43
73Zeppelin3-Jul-08 21:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.