Click here to Skip to main content
15,897,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WSAGetLastError() Pin
JudyL_MD12-Oct-07 3:27
JudyL_MD12-Oct-07 3:27 
GeneralRe: WSAGetLastError() Pin
David Crow12-Oct-07 3:30
David Crow12-Oct-07 3:30 
QuestionProblems handling DBT_DEVICEQUERYREMOVE [modified] Pin
64BitWho10-Oct-07 12:23
64BitWho10-Oct-07 12:23 
QuestionVRP using genetic algorithms coded in c++ Pin
mihira18410-Oct-07 11:35
mihira18410-Oct-07 11:35 
AnswerRe: VRP using genetic algorithms coded in c++ Pin
Mark Salsbery10-Oct-07 12:24
Mark Salsbery10-Oct-07 12:24 
Questionfilling memory with a pattern Pin
DQNOK10-Oct-07 11:00
professionalDQNOK10-Oct-07 11:00 
QuestionRe: filling memory with a pattern Pin
David Crow11-Oct-07 3:28
David Crow11-Oct-07 3:28 
AnswerRe: filling memory with a pattern Pin
DQNOK11-Oct-07 3:44
professionalDQNOK11-Oct-07 3:44 
GeneralRe: filling memory with a pattern Pin
David Crow11-Oct-07 3:52
David Crow11-Oct-07 3:52 
GeneralRe: filling memory with a pattern Pin
DQNOK11-Oct-07 7:06
professionalDQNOK11-Oct-07 7:06 
GeneralRe: filling memory with a pattern Pin
David Crow11-Oct-07 7:21
David Crow11-Oct-07 7:21 
GeneralRe: filling memory with a pattern Pin
DQNOK11-Oct-07 7:25
professionalDQNOK11-Oct-07 7:25 
AnswerRe: filling memory with a pattern Pin
Scott Dorman11-Oct-07 8:10
professionalScott Dorman11-Oct-07 8:10 
GeneralRe: filling memory with a pattern Pin
DQNOK11-Oct-07 8:30
professionalDQNOK11-Oct-07 8:30 
GeneralRe: filling memory with a pattern Pin
Scott Dorman11-Oct-07 8:41
professionalScott Dorman11-Oct-07 8:41 
GeneralRe: filling memory with a pattern Pin
DQNOK11-Oct-07 8:51
professionalDQNOK11-Oct-07 8:51 
Interesting! Clever idea.

I probably won't do it just because I already have a workable solution, and don't want to spend the kind of time it would require. I was really just fishing, assuming someone out there already had an optimum portable algorithm. For my application, the maximum numRepeats will only be on the order of a few hundred, so the looping won't be severe; for sure won't justify the amount of time I'd spend writing an optimum algorithm. See http://www.codeproject.com/tips/optimizationenemy.asp?df=100&forumid=683&mpp=50&select=2267125&msg=2267125[^]

Thanks again.
David
GeneralRe: filling memory with a pattern Pin
Scott Dorman11-Oct-07 9:15
professionalScott Dorman11-Oct-07 9:15 
GeneralRe: filling memory with a pattern Pin
DQNOK11-Oct-07 9:43
professionalDQNOK11-Oct-07 9:43 
GeneralRe: filling memory with a pattern Pin
Scott Dorman11-Oct-07 9:45
professionalScott Dorman11-Oct-07 9:45 
QuestionChange the size of the scrollbar, getsystemmetrics [modified] Pin
tortexy10-Oct-07 7:36
tortexy10-Oct-07 7:36 
AnswerRe: Change the size of the scrollbar, getsystemmetrics Pin
Mark Salsbery10-Oct-07 7:48
Mark Salsbery10-Oct-07 7:48 
GeneralRe: Change the size of the scrollbar, getsystemmetrics Pin
tortexy10-Oct-07 7:53
tortexy10-Oct-07 7:53 
GeneralRe: Change the size of the scrollbar, getsystemmetrics Pin
Mark Salsbery10-Oct-07 10:15
Mark Salsbery10-Oct-07 10:15 
GeneralRe: Change the size of the scrollbar, getsystemmetrics Pin
tortexy11-Oct-07 2:33
tortexy11-Oct-07 2:33 
QuestionMIDI...DIRECT MUSIC...VISUAL C++...WINDOWS VISTA Pin
Rance_Wilson10-Oct-07 5:41
Rance_Wilson10-Oct-07 5:41 

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.