Click here to Skip to main content
14,242,862 members

C / C++ / MFC

 
PinnedHOW TO ANSWER A QUESTION PinPopular
Chris Maunder12-Jul-09 22:37
adminChris Maunder12-Jul-09 22:37 
PinnedHOW TO ASK A QUESTION PinPopular
Chris Maunder12-Feb-09 17:19
adminChris Maunder12-Feb-09 17:19 
QuestionCall C functions from VC++ Pin
_Flaviu17-Jul-19 22:20
member_Flaviu17-Jul-19 22:20 
AnswerRe: Call C functions from VC++ Pin
phil.o17-Jul-19 23:19
mvephil.o17-Jul-19 23:19 
GeneralRe: Call C functions from VC++ Pin
_Flaviu18-Jul-19 0:19
member_Flaviu18-Jul-19 0:19 
GeneralRe: Call C functions from VC++ Pin
phil.o18-Jul-19 0:25
mvephil.o18-Jul-19 0:25 
AnswerRe: Call C functions from VC++ Pin
Richard MacCutchan18-Jul-19 0:36
protectorRichard MacCutchan18-Jul-19 0:36 
GeneralRe: Call C functions from VC++ Pin
_Flaviu18-Jul-19 2:57
member_Flaviu18-Jul-19 2:57 
GeneralRe: Call C functions from VC++ Pin
Richard MacCutchan18-Jul-19 3:09
protectorRichard MacCutchan18-Jul-19 3:09 
GeneralRe: Call C functions from VC++ Pin
_Flaviu18-Jul-19 3:19
member_Flaviu18-Jul-19 3:19 
GeneralRe: Call C functions from VC++ Pin
Richard MacCutchan18-Jul-19 4:03
protectorRichard MacCutchan18-Jul-19 4:03 
QuestionRe: Call C functions from VC++ Pin
David Crow18-Jul-19 9:05
memberDavid Crow18-Jul-19 9:05 
AnswerRe: Call C functions from VC++ Pin
_Flaviu18-Jul-19 19:20
member_Flaviu18-Jul-19 19:20 
GeneralRe: Call C functions from VC++ Pin
Richard MacCutchan18-Jul-19 20:54
protectorRichard MacCutchan18-Jul-19 20:54 
GeneralRe: Call C functions from VC++ Pin
Richard MacCutchan18-Jul-19 22:56
protectorRichard MacCutchan18-Jul-19 22:56 
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 

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.