Click here to Skip to main content
15,922,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Accessing string table from the DLL Pin
Rajkumar R4-Feb-08 23:21
Rajkumar R4-Feb-08 23:21 
AnswerRe: Accessing string table from the DLL Pin
abhijitr5-Feb-08 0:01
abhijitr5-Feb-08 0:01 
Generalcopy CString value to char Pin
Anu_Bala4-Feb-08 18:57
Anu_Bala4-Feb-08 18:57 
GeneralRe: copy CString value to char Pin
Maxwell Chen4-Feb-08 19:01
Maxwell Chen4-Feb-08 19:01 
GeneralRe: copy CString value to char Pin
Parthi_Appu4-Feb-08 19:15
Parthi_Appu4-Feb-08 19:15 
QuestionRe: copy CString value to char Pin
CPallini4-Feb-08 23:10
mveCPallini4-Feb-08 23:10 
Questionhow to get index of minimum of one array Pin
gentleguy4-Feb-08 16:22
gentleguy4-Feb-08 16:22 
AnswerRe: how to get index of minimum of one array Pin
Steve Echols4-Feb-08 17:30
Steve Echols4-Feb-08 17:30 
Try moving the line "double minValue = fitness[9];" outside of the for (int i...) loop. It's getting assigned to fitness[9] every time through the loop.

double minValue = fitness[9];
for (int i=0;i<10;i++)
{
if (fitness[i] <= minValue)
{
minValue = fitness[i];

for (int j=0;j<150;j++)
{
value = h[i][j] - irisIndNew[j];
if (value == 0)

corrNum = corrNum + 1;

}
}
}


- S
50 cups of coffee and you know it's on!

GeneralRe: how to get index of minimum of one array Pin
gentleguy4-Feb-08 20:59
gentleguy4-Feb-08 20:59 
AnswerRe: how to get index of minimum of one array Pin
pierre_ribery4-Feb-08 20:54
pierre_ribery4-Feb-08 20:54 
QuestionGet coordinate of mouse click Pin
Kennis4-Feb-08 14:22
Kennis4-Feb-08 14:22 
GeneralRe: Get coordinate of mouse click Pin
Steve Echols4-Feb-08 17:36
Steve Echols4-Feb-08 17:36 
QuestionWhat's the rule for "cleaning" and "rebuilding"...? Pin
@largeinsd4-Feb-08 13:46
@largeinsd4-Feb-08 13:46 
QuestionVS2008 sends to IP 224.0.0.22 ?! Pin
Ingo H. de Boer4-Feb-08 11:41
Ingo H. de Boer4-Feb-08 11:41 
GeneralInput (istream) error testing Pin
hain4-Feb-08 9:15
hain4-Feb-08 9:15 
QuestionRe: Input (istream) error testing Pin
David Crow4-Feb-08 10:14
David Crow4-Feb-08 10:14 
GeneralRe: Input (istream) error testing Pin
gentleguy4-Feb-08 22:14
gentleguy4-Feb-08 22:14 
GeneralRe: Input (istream) error testing Pin
hain5-Feb-08 5:23
hain5-Feb-08 5:23 
GeneralRe: Input (istream) error testing Pin
David Crow5-Feb-08 5:37
David Crow5-Feb-08 5:37 
GeneralRe: Input (istream) error testing Pin
hain6-Feb-08 3:42
hain6-Feb-08 3:42 
GeneralPSM_QUERYSIBLINGS Pin
bob169724-Feb-08 6:25
bob169724-Feb-08 6:25 
GeneralRe: PSM_QUERYSIBLINGS Pin
Mark Salsbery4-Feb-08 6:36
Mark Salsbery4-Feb-08 6:36 
QuestionRe: PSM_QUERYSIBLINGS Pin
bob169724-Feb-08 6:54
bob169724-Feb-08 6:54 
GeneralRe: PSM_QUERYSIBLINGS Pin
Mark Salsbery4-Feb-08 7:09
Mark Salsbery4-Feb-08 7:09 
GeneralRe: PSM_QUERYSIBLINGS Pin
bob169724-Feb-08 7:40
bob169724-Feb-08 7:40 

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.