Click here to Skip to main content
15,893,668 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Counting bricks from image Pin
MarkB77715-May-08 21:31
MarkB77715-May-08 21:31 
GeneralRe: Counting bricks from image Pin
Tim Craig15-May-08 22:43
Tim Craig15-May-08 22:43 
GeneralRe: Counting bricks from image Pin
Paul Conrad28-Jun-08 9:16
professionalPaul Conrad28-Jun-08 9:16 
AnswerRe: Counting bricks from image Pin
asiv29-May-08 9:53
asiv29-May-08 9:53 
QuestionVideo Data on Network at a Bitrate? Pin
Andy Rama13-May-08 20:19
Andy Rama13-May-08 20:19 
QuestionIterating and comparing two Dictionary objects [modified] Pin
invictus39-May-08 5:03
invictus39-May-08 5:03 
AnswerRe: Iterating and comparing two Dictionary objects Pin
73Zeppelin9-May-08 7:52
73Zeppelin9-May-08 7:52 
AnswerRe: Iterating and comparing two Dictionary objects Pin
Alan Balkany9-May-08 10:33
Alan Balkany9-May-08 10:33 
If you could store both arrays in the same dictionary it would solve your problem. So for each index, the dictionary item would be a PAIR of ints (one from each array).

Then you go through each element, and get the difference between the pair of values at that index. This structure would also use less memory than two dictionaries.

Using a struct for the pair of ints would avoid the implicit use of a pointer that would result from a class/reference.
AnswerRe: Iterating and comparing two Dictionary objects Pin
Mark Churchill18-May-08 4:40
Mark Churchill18-May-08 4:40 
GeneralRe: Iterating and comparing two Dictionary objects Pin
supercat924-May-08 15:12
supercat924-May-08 15:12 
Question(Possibly) Simple Maths Pin
Reelix9-May-08 0:51
Reelix9-May-08 0:51 
AnswerRe: (Possibly) Simple Maths Pin
Cedric Moonen9-May-08 1:08
Cedric Moonen9-May-08 1:08 
GeneralRe: (Possibly) Simple Maths Pin
Reelix9-May-08 2:14
Reelix9-May-08 2:14 
AnswerRe: (Possibly) Simple Maths Pin
Alan Balkany9-May-08 3:37
Alan Balkany9-May-08 3:37 
AnswerRe: (Possibly) Simple Maths Pin
CPallini9-May-08 4:20
mveCPallini9-May-08 4:20 
AnswerRe: (Possibly) Simple Maths Pin
73Zeppelin9-May-08 7:45
73Zeppelin9-May-08 7:45 
Questionneed similar to Excel's "Goal Seek" in C/C++ Pin
KimN6-May-08 9:04
KimN6-May-08 9:04 
AnswerRe: need similar to Excel's "Goal Seek" in C/C++ Pin
73Zeppelin6-May-08 9:17
73Zeppelin6-May-08 9:17 
GeneralRe: need similar to Excel's "Goal Seek" in C/C++ Pin
KimN6-May-08 10:06
KimN6-May-08 10:06 
GeneralRe: need similar to Excel's "Goal Seek" in C/C++ Pin
73Zeppelin6-May-08 10:29
73Zeppelin6-May-08 10:29 
AnswerRe: need similar to Excel's "Goal Seek" in C/C++ Pin
cp98766-May-08 15:57
cp98766-May-08 15:57 
GeneralRe: need similar to Excel's "Goal Seek" in C/C++ Pin
73Zeppelin6-May-08 19:19
73Zeppelin6-May-08 19:19 
QuestionSorting multiple lists so they are unique Pin
jrg20005-May-08 1:10
jrg20005-May-08 1:10 
AnswerRe: Sorting multiple lists so they are unique Pin
73Zeppelin6-May-08 9:19
73Zeppelin6-May-08 9:19 
GeneralRe: Sorting multiple lists so they are unique Pin
jrg20007-May-08 23:24
jrg20007-May-08 23:24 

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.