Click here to Skip to main content
15,882,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding items to a list box in a dialog. Pin
Ben Aldhouse26-Jan-08 6:14
Ben Aldhouse26-Jan-08 6:14 
GeneralHooking Pin
dellthinker26-Jan-08 0:33
dellthinker26-Jan-08 0:33 
GeneralRe: Hooking Pin
CPallini26-Jan-08 2:07
mveCPallini26-Jan-08 2:07 
GeneralRe: Hooking Pin
Nitheesh George27-Jan-08 19:14
Nitheesh George27-Jan-08 19:14 
GeneralRe: Hooking Pin
CPallini27-Jan-08 22:22
mveCPallini27-Jan-08 22:22 
GeneralRe: Hooking Pin
Nitheesh George28-Jan-08 16:21
Nitheesh George28-Jan-08 16:21 
Questionhow to assign an array value to another Pin
gentleguy25-Jan-08 22:55
gentleguy25-Jan-08 22:55 
AnswerRe: how to assign an array value to another [modified] Pin
CPallini25-Jan-08 23:30
mveCPallini25-Jan-08 23:30 
li zhiyuan wrote:
the following code is right?

If it accomplishes your intended purposes, then yes.

I mean:
You're computing the minimum value of fitness array (and storing it into minValue) and each time you find a currently mininmum value, say fitness[k], you copy the corrensponding a[k][3][4] element into gbest[k][3][4] (all other
gbest elements remaining untouched) eventually displaying the copied element.

Is the above your target?
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

[my articles]


modified on Saturday, January 26, 2008 5:42:07 AM

GeneralRe: how to assign an array value to another Pin
gentleguy26-Jan-08 0:18
gentleguy26-Jan-08 0:18 
GeneralRe: how to assign an array value to another Pin
CPallini26-Jan-08 1:59
mveCPallini26-Jan-08 1:59 
GeneralRe: how to assign an array value to another Pin
gentleguy26-Jan-08 2:17
gentleguy26-Jan-08 2:17 
QuestionRe: how to assign an array value to another Pin
CPallini26-Jan-08 2:26
mveCPallini26-Jan-08 2:26 
GeneralRe: how to assign an array value to another Pin
gentleguy26-Jan-08 2:29
gentleguy26-Jan-08 2:29 
GeneralRe: how to assign an array value to another Pin
CPallini26-Jan-08 2:58
mveCPallini26-Jan-08 2:58 
GeneralRe: how to assign an array value to another Pin
gentleguy27-Jan-08 1:32
gentleguy27-Jan-08 1:32 
QuestionRe: how to assign an array value to another Pin
CPallini27-Jan-08 2:49
mveCPallini27-Jan-08 2:49 
GeneralChange Folder path Pin
Paulraj G25-Jan-08 20:54
Paulraj G25-Jan-08 20:54 
GeneralRe: Change Folder path Pin
Maxwell Chen25-Jan-08 21:52
Maxwell Chen25-Jan-08 21:52 
GeneralRe: Change Folder path Pin
David Crow26-Jan-08 12:04
David Crow26-Jan-08 12:04 
AnswerRe: Change Folder path Pin
Alain Rist26-Jan-08 20:17
Alain Rist26-Jan-08 20:17 
QuestionHow to login a website?post!method Pin
chinakknd25-Jan-08 20:51
chinakknd25-Jan-08 20:51 
AnswerRe: How to login a website?post!method Pin
Paul Conrad26-Jan-08 7:50
professionalPaul Conrad26-Jan-08 7:50 
QuestionAny Method to check if database provider is installed on a machine Pin
Mushtaque Nizamani25-Jan-08 20:46
Mushtaque Nizamani25-Jan-08 20:46 
QuestionRe: Any Method to check if database provider is installed on a machine Pin
CPallini26-Jan-08 0:12
mveCPallini26-Jan-08 0:12 
QuestionRe: Any Method to check if database provider is installed on a machine Pin
David Crow26-Jan-08 12:07
David Crow26-Jan-08 12:07 

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.