Click here to Skip to main content
15,907,687 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Trying to identify this algorithm Pin
Waldermort13-Dec-06 4:52
Waldermort13-Dec-06 4:52 
AnswerRe: Trying to identify this algorithm Pin
Bassam Abdul-Baki13-Dec-06 4:01
professionalBassam Abdul-Baki13-Dec-06 4:01 
GeneralRe: Trying to identify this algorithm Pin
Waldermort13-Dec-06 4:47
Waldermort13-Dec-06 4:47 
GeneralRe: Trying to identify this algorithm Pin
Paul Conrad13-Dec-06 4:56
professionalPaul Conrad13-Dec-06 4:56 
GeneralRe: Trying to identify this algorithm Pin
Waldermort13-Dec-06 6:12
Waldermort13-Dec-06 6:12 
GeneralRe: Trying to identify this algorithm Pin
Paul Conrad13-Dec-06 6:44
professionalPaul Conrad13-Dec-06 6:44 
GeneralRe: Trying to identify this algorithm Pin
S Douglas26-Dec-06 19:25
professionalS Douglas26-Dec-06 19:25 
QuestionCan comparisons be done without If statements in C [modified] Pin
nripun11-Dec-06 2:30
nripun11-Dec-06 2:30 
Can i perform a comparison operation without using IF statement.

For example:
<br />
if( x< 0.5 || x > 1.0 )<br />
  return 0;<br />
else<br />
  return 1;<br />

Here the values 0.5 and 1.0 are fixed ie. the condition always check for 0.5 and 1.0 and no other values.
Can i replace the above If-else statement?


-- modified at 9:37 Monday 11th December, 2006
i made the mistake of puting && instead of ||.
AnswerRe: Can comparisons be done without If statements in C Pin
Guffa11-Dec-06 3:18
Guffa11-Dec-06 3:18 
GeneralRe: Can comparisons be done without If statements in C Pin
Ed.Poore11-Dec-06 3:52
Ed.Poore11-Dec-06 3:52 
GeneralRe: Can comparisons be done without If statements in C Pin
Guffa11-Dec-06 4:06
Guffa11-Dec-06 4:06 
AnswerRe: Can comparisons be done without If statements in C Pin
Luc Pattyn11-Dec-06 3:19
sitebuilderLuc Pattyn11-Dec-06 3:19 
GeneralRe: Can comparisons be done without If statements in C Pin
Stephen Hewitt11-Dec-06 15:54
Stephen Hewitt11-Dec-06 15:54 
GeneralRe: Can comparisons be done without If statements in C Pin
Luc Pattyn12-Dec-06 4:27
sitebuilderLuc Pattyn12-Dec-06 4:27 
AnswerRe: Can comparisons be done without If statements in C Pin
Guffa11-Dec-06 4:18
Guffa11-Dec-06 4:18 
AnswerRe: Can comparisons be done without If statements in C Pin
Maximilien11-Dec-06 4:49
Maximilien11-Dec-06 4:49 
AnswerRe: Can comparisons be done without If statements in C Pin
Stephen Hewitt11-Dec-06 15:56
Stephen Hewitt11-Dec-06 15:56 
AnswerRe: Can comparisons be done without If statements in C Pin
ShermansLagoon8-Jan-07 3:09
ShermansLagoon8-Jan-07 3:09 
AnswerRe: Can comparisons be done without If statements in C Pin
Rilhas30-Jan-07 12:57
Rilhas30-Jan-07 12:57 
Questionhow to read outlook express file inbox.dbx to simple english Pin
naveen padiyar10-Dec-06 19:06
naveen padiyar10-Dec-06 19:06 
QuestionRe: Control generation of my own public & private key pairs using C# Pin
edchan10-Dec-06 18:53
edchan10-Dec-06 18:53 
Questionconvert Metric to English and English to Metric using pseudocod Pin
xcom20018-Dec-06 21:15
xcom20018-Dec-06 21:15 
AnswerRe: convert Metric to English and English to Metric using pseudocod Pin
El Corazon9-Dec-06 6:15
El Corazon9-Dec-06 6:15 
AnswerRe: convert Metric to English and English to Metric using pseudocod Pin
#1239-Dec-06 21:53
#1239-Dec-06 21:53 
GeneralRe: convert Metric to English and English to Metric using pseudocod Pin
toxcct10-Dec-06 4:57
toxcct10-Dec-06 4:57 

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.