Click here to Skip to main content
14,265,654 members

C / C++ / MFC

 
QuestionMFC Picture Control image size. Pin
Maximilien17-Jul-19 10:07
memberMaximilien17-Jul-19 10:07 
AnswerRe: MFC Picture Control image size. Pin
Victor Nijegorodov17-Jul-19 20:32
memberVictor Nijegorodov17-Jul-19 20:32 
GeneralRe: MFC Picture Control image size. Pin
Maximilien18-Jul-19 3:50
memberMaximilien18-Jul-19 3:50 
GeneralRe: MFC Picture Control image size. Pin
Victor Nijegorodov18-Jul-19 4:25
memberVictor Nijegorodov18-Jul-19 4:25 
AnswerRe: MFC Picture Control image size. Pin
Richard MacCutchan17-Jul-19 21:04
protectorRichard MacCutchan17-Jul-19 21:04 
GeneralRe: MFC Picture Control image size. Pin
Maximilien18-Jul-19 3:50
memberMaximilien18-Jul-19 3:50 
GeneralRe: MFC Picture Control image size. Pin
Richard MacCutchan18-Jul-19 4:03
protectorRichard MacCutchan18-Jul-19 4:03 
QuestionAlgorithm Problem(C++ solution) Pin
nirvikprantor12-Jul-19 5:05
membernirvikprantor12-Jul-19 5:05 
Airport is divided to many Runways. Each runway has a mixed fixed delay amount of
time to keep a plane on runway. If airplane delay time > runway delay time than airplane
needs to take out from a runway, then it is considered as missed and starts from again
from a runway. You need to find out the minimum total delay for particular input. First
input line is number of runways. Second input line is delay of each runway.
Third input line is capacity of each runway to accommodate planes. Forth input line is
total number of planes. Fifth input line is maximum delay an airplane can afford. If it
exceed the runway delay time it is miss and it needs to start from again from a runway.
You need to show how you managed the runways as output as well.
Examples:(All are from user input)
5
2 2 3 5 7
2 2 2 2 2
8
1 1 1 1 2 2 3 3
Answer= 3

calculetion:(For another Example)
      2 2 3 5 7   (runways delay times)
     ____________
      1 1 1 5 3  (Air planes Delay times are less or equal
      1 2 2 0 0  than runways delay)
      __________
1sec -0 0 0 4 2
1sec -0 1 1 3 1
1sec -0 0 0 2 0
1sec -0 0 0 1 0
1sec -0 0 0 0 0 
________________
Dealay Time=(1+1+1+1+1)sec
           =5 second
Answer=5

AnswerRe: Algorithm Problem(C++ solution) PinPopular
OriginalGriff12-Jul-19 5:10
protectorOriginalGriff12-Jul-19 5:10 
GeneralRe: Algorithm Problem(C++ solution) Pin
Joe Woodbury12-Jul-19 10:02
professionalJoe Woodbury12-Jul-19 10:02 
AnswerRe: Algorithm Problem(C++ solution) Pin
Stefan_Lang15-Jul-19 2:05
memberStefan_Lang15-Jul-19 2:05 
AnswerRe: Algorithm Problem(C++ solution) Pin
Gerry Schmitz15-Jul-19 8:14
mveGerry Schmitz15-Jul-19 8:14 
QuestionOverflow check on integer multiplication in C ? Pin
Hans9999-Jul-19 2:01
memberHans9999-Jul-19 2:01 
AnswerRe: Overflow check on integer multiplication in C ? Pin
Daniel Pfeffer9-Jul-19 3:10
professionalDaniel Pfeffer9-Jul-19 3:10 
AnswerRe: Overflow check on integer multiplication in C ? Pin
Joe Woodbury9-Jul-19 7:41
professionalJoe Woodbury9-Jul-19 7:41 
AnswerRe: Overflow check on integer multiplication in C ? Pin
leon de boer10-Jul-19 3:35
memberleon de boer10-Jul-19 3:35 
GeneralRe: Overflow check on integer multiplication in C ? Pin
CPallini10-Jul-19 4:57
mveCPallini10-Jul-19 4:57 
SuggestionI have created a Wrapper but while calling a function from C# its moving to my Lib file and giving below error andy solution? Pin
Member 143147593-Jul-19 22:14
memberMember 143147593-Jul-19 22:14 
GeneralRe: I have created a Wrapper but while calling a function from C# its moving to my Lib file and giving below error andy solution? Pin
leon de boer4-Jul-19 2:39
memberleon de boer4-Jul-19 2:39 
Question"crosslinking " - different architecture libraries - is is possible? Pin
Vaclav_1-Jul-19 10:54
memberVaclav_1-Jul-19 10:54 
AnswerRe: "crosslinking " - different architecture libraries - is is possible? Pin
Richard MacCutchan1-Jul-19 20:56
protectorRichard MacCutchan1-Jul-19 20:56 
AnswerRe: "crosslinking " - different architecture libraries - is is possible? Pin
leon de boer2-Jul-19 5:03
memberleon de boer2-Jul-19 5:03 
QuestionCreated .Dll from and .ocx using C++/CLI but interop is not loading in C# Pin
Member 143147591-Jul-19 3:16
memberMember 143147591-Jul-19 3:16 
QuestionReturn From DoModal with RadioButton Pin
ForNow30-Jun-19 4:50
memberForNow30-Jun-19 4:50 
AnswerRe: Return From DoModal with RadioButton Pin
Victor Nijegorodov30-Jun-19 6:43
memberVictor Nijegorodov30-Jun-19 6:43 

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.