Click here to Skip to main content
15,910,877 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thread and ActiveX component Pin
Ghazi H. Wadi19-Sep-01 16:52
Ghazi H. Wadi19-Sep-01 16:52 
GeneralRe: Thread and ActiveX component Pin
Farah Mansor19-Sep-01 21:04
Farah Mansor19-Sep-01 21:04 
GeneralRe: Thread and ActiveX component Pin
Ghazi H. Wadi20-Sep-01 12:46
Ghazi H. Wadi20-Sep-01 12:46 
GeneralRe: Thread and ActiveX component Pin
Farah Mansor20-Sep-01 15:58
Farah Mansor20-Sep-01 15:58 
GeneralRe: Thread and ActiveX component Pin
Ghazi H. Wadi21-Sep-01 16:09
Ghazi H. Wadi21-Sep-01 16:09 
GeneralRe: Thread and ActiveX component Pin
24-Sep-01 19:47
suss24-Sep-01 19:47 
Generalconsecutive sums Pin
minikg18-Sep-01 15:38
minikg18-Sep-01 15:38 
GeneralRe: consecutive sums Pin
Christian Graus18-Sep-01 16:02
protectorChristian Graus18-Sep-01 16:02 
Couldn't you just set one variable, call it X, to equal the value, an other, call it Y to equal zero, then set up a loop for Y that increases to the starting value of X. Then in each iteration you subtract one from X, and you'll always have two values that add up to the one you want.

I'm loathe to post code because I wouldn't want to encourage you to copy it without understanding it, but if you have a shot at it and post your code I'd be happy to go over it and make suggestions.


Christian

As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet.

Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
GeneralRe: consecutive sums Pin
minikg18-Sep-01 16:04
minikg18-Sep-01 16:04 
GeneralRe: consecutive sums Pin
minikg19-Sep-01 12:28
minikg19-Sep-01 12:28 
GeneralRe: consecutive sums Pin
Christian Graus19-Sep-01 12:47
protectorChristian Graus19-Sep-01 12:47 
GeneralRe: consecutive sums Pin
minikg19-Sep-01 13:22
minikg19-Sep-01 13:22 
GeneralRe: consecutive sums Pin
Christian Graus19-Sep-01 14:23
protectorChristian Graus19-Sep-01 14:23 
GeneralRe: consecutive sums Pin
Christian Graus19-Sep-01 14:40
protectorChristian Graus19-Sep-01 14:40 
GeneralRe: consecutive sums Pin
Christian Graus19-Sep-01 14:42
protectorChristian Graus19-Sep-01 14:42 
GeneralRe: consecutive sums Pin
Christian Graus19-Sep-01 14:58
protectorChristian Graus19-Sep-01 14:58 
GeneralRe: consecutive sums Pin
Christian Graus19-Sep-01 16:32
protectorChristian Graus19-Sep-01 16:32 
QuestionHow do you remove help from a project? Pin
Cathy18-Sep-01 14:21
Cathy18-Sep-01 14:21 
AnswerRe: How do you remove help from a project? Pin
Tomasz Sowinski19-Sep-01 2:02
Tomasz Sowinski19-Sep-01 2:02 
GeneralRe: How do you remove help from a project? Pin
Cathy19-Sep-01 10:52
Cathy19-Sep-01 10:52 
Questionhelp, Implement Flashwindow like MNS Msg? Pin
OGIR18-Sep-01 12:30
OGIR18-Sep-01 12:30 
AnswerRe: help, Implement Flashwindow like MNS Msg? Pin
Michael P Butler18-Sep-01 22:21
Michael P Butler18-Sep-01 22:21 
Generalchar* as template parameter Pin
Aaron Schaefer18-Sep-01 12:22
Aaron Schaefer18-Sep-01 12:22 
GeneralRe: char* as template parameter Pin
Michael Dunn18-Sep-01 21:16
sitebuilderMichael Dunn18-Sep-01 21:16 
GeneralRe: char* as template parameter Pin
Aaron Schaefer19-Sep-01 3:48
Aaron Schaefer19-Sep-01 3:48 

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.