Click here to Skip to main content
15,792,330 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: create a dpi-aware application Pin
Richard MacCutchan7-Nov-17 4:27
mveRichard MacCutchan7-Nov-17 4:27 
AnswerRe: create a dpi-aware application Pin
Gisle Vanem7-Nov-17 20:35
Gisle Vanem7-Nov-17 20:35 
GeneralRe: create a dpi-aware application Pin
Theo Buys17-Dec-18 23:36
Theo Buys17-Dec-18 23:36 
QuestionCan we define the Right control key as an ACCELERATOR in the resource file ? Pin
Maximilien3-Nov-17 11:12
Maximilien3-Nov-17 11:12 
AnswerRe: Can we define the Right control key as an ACCELERATOR in the resource file ? Pin
Richard MacCutchan5-Nov-17 3:09
mveRichard MacCutchan5-Nov-17 3:09 
GeneralRe: Can we define the Right control key as an ACCELERATOR in the resource file ? Pin
Maximilien7-Nov-17 6:48
Maximilien7-Nov-17 6:48 
QuestionFind maximun range of an array Pin
Member 135010212-Nov-17 23:35
Member 135010212-Nov-17 23:35 
QuestionRe: Find maximun range of an array Pin
David Crow3-Nov-17 4:51
David Crow3-Nov-17 4:51 
Member 13501021 wrote:
...i have to find the maximun range
When I hear the phrase "maximum range" I think of things like: 1) what's the farthest that ball can be hit, 2) what's the longest distance that bullet will travel in 50% humidity, 3) what's the farthest that car can go on a full tank. What is your definition of maximum range?

Member 13501021 wrote:
+--------------------------+
| 100 | -10 | -10 | -10 | 100 | --> this sould return the range 0-4
+--------------------------+

+-----------------+
| -7 | 5 | -1 | 9 | -6 | --> this sould return the range 1-3
+-----------------+

+-----------------+
| -7 | 5 | -6 | 9 | -6 | --> this sould return the range 3-3

What's the pattern?

"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


SuggestionRe: Find maximun range of an array Pin
Sascha Lefèvre3-Nov-17 5:22
professionalSascha Lefèvre3-Nov-17 5:22 
AnswerRe: Find maximun range of an array Pin
Sascha Lefèvre3-Nov-17 15:17
professionalSascha Lefèvre3-Nov-17 15:17 
QuestionCalculate sum of M natural numbers starting from N. Pin
Member 134789861-Nov-17 10:16
Member 134789861-Nov-17 10:16 
AnswerRe: Calculate sum of M natural numbers starting from N. Pin
Victor Nijegorodov1-Nov-17 10:49
Victor Nijegorodov1-Nov-17 10:49 
GeneralRe: Calculate sum of M natural numbers starting from N. Pin
Member 134789861-Nov-17 11:19
Member 134789861-Nov-17 11:19 
AnswerRe: Calculate sum of M natural numbers starting from N. Pin
CPallini1-Nov-17 11:53
mveCPallini1-Nov-17 11:53 
GeneralRe: Calculate sum of M natural numbers starting from N. Pin
Member 134789861-Nov-17 11:57
Member 134789861-Nov-17 11:57 
Question[win32] sprite error ? Pin
bluatigro1-Nov-17 4:03
bluatigro1-Nov-17 4:03 
AnswerRe: [win32] sprite error ? Pin
Richard MacCutchan1-Nov-17 4:18
mveRichard MacCutchan1-Nov-17 4:18 
AnswerRe: [win32] sprite error ? Pin
Jochen Arndt1-Nov-17 4:26
professionalJochen Arndt1-Nov-17 4:26 
AnswerRe: [win32] sprite error ? Pin
David Crow1-Nov-17 4:32
David Crow1-Nov-17 4:32 
GeneralRe: [win32] sprite error ? Pin
bluatigro2-Nov-17 1:13
bluatigro2-Nov-17 1:13 
GeneralRe: [win32] sprite error ? Pin
bluatigro2-Nov-17 2:01
bluatigro2-Nov-17 2:01 
GeneralRe: [win32] sprite error ? Pin
Richard MacCutchan2-Nov-17 2:46
mveRichard MacCutchan2-Nov-17 2:46 
GeneralRe: [win32] sprite error ? Pin
bluatigro3-Nov-17 1:09
bluatigro3-Nov-17 1:09 
GeneralRe: [win32] sprite error ? Pin
Richard MacCutchan3-Nov-17 1:28
mveRichard MacCutchan3-Nov-17 1:28 
GeneralRe: [win32] sprite error ? Pin
bluatigro7-Nov-17 23:36
bluatigro7-Nov-17 23:36 

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.