Click here to Skip to main content
15,850,634 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CPU Usage Pin
Dave Kreskowiak20-May-23 11:28
mveDave Kreskowiak20-May-23 11:28 
QuestionA two-dimensional std::vector for use by all Pin
polcott18-May-23 11:06
polcott18-May-23 11:06 
AnswerRe: A two-dimensional std::vector for use by all Pin
Gerry Schmitz18-May-23 19:25
mveGerry Schmitz18-May-23 19:25 
GeneralRe: A two-dimensional std::vector for use by all Pin
Richard MacCutchan19-May-23 1:09
mveRichard MacCutchan19-May-23 1:09 
GeneralMessage Closed Pin
19-May-23 6:03
polcott19-May-23 6:03 
GeneralRe: A two-dimensional std::vector for use by all Pin
jschell19-May-23 8:49
jschell19-May-23 8:49 
QuestionNot able to set header and footer in excel on multiple (even or odd pages) Pin
I_am_nayak16-May-23 20:19
I_am_nayak16-May-23 20:19 
AnswerRe: Not able to set header and footer in excel on multiple (even or odd pages) Pin
David Crow17-May-23 3:23
David Crow17-May-23 3:23 
The (incomplete) for() loop looks a bit odd in that it is using the same values for the header and footer and the set methods are called twice. If you are wanting the header/footer on the even pages to be different than the header/footer on the odd pages then you are going to have to check whether l is odd or even and use a different value accordingly.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


QuestionMessage Closed Pin
14-May-23 14:20
polcott14-May-23 14:20 
AnswerRe: Can D simulated by H terminate normally? Pin
Richard MacCutchan14-May-23 22:39
mveRichard MacCutchan14-May-23 22:39 
AnswerRe: Can D simulated by H terminate normally? Pin
jschell15-May-23 5:58
jschell15-May-23 5:58 
GeneralMessage Closed Pin
15-May-23 9:30
polcott15-May-23 9:30 
GeneralRe: Can D simulated by H terminate normally? Pin
harold aptroot15-May-23 10:20
harold aptroot15-May-23 10:20 
GeneralMessage Closed Pin
15-May-23 10:50
polcott15-May-23 10:50 
GeneralRe: Can D simulated by H terminate normally? Pin
harold aptroot15-May-23 11:03
harold aptroot15-May-23 11:03 
GeneralMessage Closed Pin
16-May-23 5:51
polcott16-May-23 5:51 
GeneralRe: Can D simulated by H terminate normally? Pin
jschell16-May-23 7:41
jschell16-May-23 7:41 
GeneralMessage Closed Pin
18-May-23 5:27
polcott18-May-23 5:27 
GeneralRe: Can D simulated by H terminate normally? Pin
jeron118-May-23 6:03
jeron118-May-23 6:03 
GeneralMessage Closed Pin
18-May-23 6:16
polcott18-May-23 6:16 
GeneralRe: Can D simulated by H terminate normally? Pin
jeron118-May-23 6:22
jeron118-May-23 6:22 
GeneralMessage Closed Pin
18-May-23 6:51
polcott18-May-23 6:51 
GeneralRe: Can D simulated by H terminate normally? Pin
jeron118-May-23 7:07
jeron118-May-23 7:07 
GeneralMessage Closed Pin
18-May-23 7:28
polcott18-May-23 7:28 
GeneralRe: Can D simulated by H terminate normally? Pin
jeron118-May-23 7:37
jeron118-May-23 7:37 

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.