Click here to Skip to main content
15,890,043 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Member 112832724-Dec-14 19:04
Member 112832724-Dec-14 19:04 
QuestionRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Richard MacCutchan4-Dec-14 21:24
mveRichard MacCutchan4-Dec-14 21:24 
AnswerRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Member 112832724-Dec-14 21:33
Member 112832724-Dec-14 21:33 
GeneralRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Richard MacCutchan5-Dec-14 3:12
mveRichard MacCutchan5-Dec-14 3:12 
AnswerRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Member 112832725-Dec-14 3:44
Member 112832725-Dec-14 3:44 
GeneralRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Richard MacCutchan5-Dec-14 3:52
mveRichard MacCutchan5-Dec-14 3:52 
GeneralRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Member 112832725-Dec-14 4:38
Member 112832725-Dec-14 4:38 
GeneralRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Richard MacCutchan5-Dec-14 4:52
mveRichard MacCutchan5-Dec-14 4:52 
GeneralRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Member 112832727-Dec-14 19:14
Member 112832727-Dec-14 19:14 
AnswerRe: External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started. Pin
Member 112832725-Dec-14 3:49
Member 112832725-Dec-14 3:49 
Questionthreads ( c language ) in Ubunt Pin
Eng \ zeyad3-Dec-14 0:05
Eng \ zeyad3-Dec-14 0:05 
AnswerRe: threads ( c language ) in Ubunt Pin
den2k883-Dec-14 0:10
professionalden2k883-Dec-14 0:10 
AnswerRe: threads ( c language ) in Ubunt Pin
CPallini3-Dec-14 0:43
mveCPallini3-Dec-14 0:43 
GeneralRe: threads ( c language ) in Ubunt Pin
Eng \ zeyad3-Dec-14 0:50
Eng \ zeyad3-Dec-14 0:50 
GeneralRe: threads ( c language ) in Ubunt Pin
Eng \ zeyad3-Dec-14 0:53
Eng \ zeyad3-Dec-14 0:53 
AnswerRe: threads ( c language ) in Ubunt Pin
Albert Holguin3-Dec-14 3:55
professionalAlbert Holguin3-Dec-14 3:55 
0. Split your array into four parts (use the pointer to determine where you're doing the split, don't make another copy of the data)
1. Create worker threads to sum each with their portion (pointer to the beginning and size).
2. Wait for all threads to finish, sum their results.

If this was a program that needed to do this over and over again, I'd also create a "thread pool" that is precreated. Creating threads on the fly is actually a pretty slow process, you want to do it sparingly.
QuestionHow to use overwriting circular buffer for printing strings in c programming? Pin
ShashiAcharya29-Nov-14 22:38
ShashiAcharya29-Nov-14 22:38 
SuggestionRe: How to use overwriting circular buffer for printing strings in c programming? Pin
Richard MacCutchan29-Nov-14 23:21
mveRichard MacCutchan29-Nov-14 23:21 
AnswerRe: How to use overwriting circular buffer for printing strings in c programming? Pin
jschell30-Nov-14 6:11
jschell30-Nov-14 6:11 
AnswerRe: How to use overwriting circular buffer for printing strings in c programming? Pin
CPallini2-Dec-14 9:10
mveCPallini2-Dec-14 9:10 
Questionwindows version of message queue? Pin
neodeaths29-Nov-14 6:55
neodeaths29-Nov-14 6:55 
AnswerRe: windows version of message queue? Pin
Richard MacCutchan29-Nov-14 23:23
mveRichard MacCutchan29-Nov-14 23:23 
AnswerRe: windows version of message queue? Pin
Albert Holguin1-Dec-14 4:20
professionalAlbert Holguin1-Dec-14 4:20 
Questionhow to use message queue in windows Pin
neodeaths29-Nov-14 6:47
neodeaths29-Nov-14 6:47 
AnswerRe: how to use message queue in windows Pin
Richard MacCutchan29-Nov-14 23:24
mveRichard MacCutchan29-Nov-14 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.