by Robert Sample » Fri Jul 23, 2010 6:53 am
So what, precisely, are you needing help in? If you are unable to clearly state what you're having trouble with -- as is the case so far -- there's not a whole lot of help we can provide. We need a problem to work on, not just a general statement of what you want a program to do. There are many, many, many ways to write a program and we have no idea so far what you've done on it. Please remember, this is a HELP forum, not an instructional facility -- most responders are professionals being paid to work on problems for their employer, and do this forum in their spare time.
Some questions:
What data structures do you see needing?
What kind of input (file, keyboard, parameter) do you see needing?
Do you have a subroutine to produce a Gantt chart already?
What do you mean "the user shall see the computation of turnaround time and waiting time" -- are these outputs, or are you supposed to show each step of the calculation (and if so, in a file? on the screen? some other way?) or something else?
Hint: For something like a scheduler, a doubly-linked list works well since you can then add jobs into the list based on start time (for example, if that's what you decide to use).