Click here to Skip to main content
15,927,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can I reuse function in C file for my GUI MFC project Pin
LighthouseJ10-Nov-05 7:39
LighthouseJ10-Nov-05 7:39 
GeneralRe: How can I reuse function in EXTERNAL C file for my GUI MFC project Pin
Loc Milkyway10-Nov-05 9:44
Loc Milkyway10-Nov-05 9:44 
GeneralRe: How can I reuse function in EXTERNAL C file for my GUI MFC project Pin
LighthouseJ10-Nov-05 10:14
LighthouseJ10-Nov-05 10:14 
Questionhelp please Pin
torniker10-Nov-05 7:01
torniker10-Nov-05 7:01 
QuestionRe: help please Pin
David Crow10-Nov-05 8:36
David Crow10-Nov-05 8:36 
AnswerRe: help please Pin
John R. Shaw10-Nov-05 18:12
John R. Shaw10-Nov-05 18:12 
GeneralRe: help please Pin
torniker13-Nov-05 0:30
torniker13-Nov-05 0:30 
Questionoperating system Pin
bpsmith6510-Nov-05 6:51
bpsmith6510-Nov-05 6:51 
I need help on the coding for this project. Is there any examples or coding for this program...... Write a program in C++ to simulate the performance of the SSTF and the C-LOOK disk scheduling algorithms shown in class. We assume the disk system supports track numbers ranging from 0 (the outermost track) to 49 (the innermost track).

The following shows a scenario of running the program, where user’s inputs are in boldface.

>smi3456p3 {an executable program}
please enter a sequence of track numbers:4 40 11 35 7 14
where is the current position of the arm?15
what do you want to do?

1 = SSTF
2 = C-LOOK
3 = quit

1

the history of arm movement is: 15, 14, 11, 7, 4, 35, 40

what do you want to do?

1 = SSTF
2 = C-LOOK
3 = quit

2

what is the direction the arm is currently moving?

1 = toward the innermost track (i.e. 0)
2 = toward the outermost track (i.e. 49)

2

the history of arm movement is: 15, 35, 40, 4, 7, 11, 14



what do you want to do?

1 = SSTF
2 = C-LOOK
3 = quit

3

>


brandy smith
AnswerRe: operating system Pin
LighthouseJ10-Nov-05 7:42
LighthouseJ10-Nov-05 7:42 
QuestionDamn it - why does this code compile? Pin
Chintoo72310-Nov-05 6:17
Chintoo72310-Nov-05 6:17 
AnswerRe: Damn it - why does this code compile? Pin
Chris Meech10-Nov-05 6:56
Chris Meech10-Nov-05 6:56 
GeneralRe: Damn it - why does this code compile? Pin
Chintoo72310-Nov-05 7:29
Chintoo72310-Nov-05 7:29 
AnswerRe: Damn it - why does this code compile? Pin
Maximilien10-Nov-05 7:06
Maximilien10-Nov-05 7:06 
GeneralRe: Damn it - why does this code compile? Pin
Chintoo72310-Nov-05 7:43
Chintoo72310-Nov-05 7:43 
AnswerRe: Damn it - why does this code compile? Pin
James R. Twine10-Nov-05 8:37
James R. Twine10-Nov-05 8:37 
QuestionTrying to create a custom CListBox control that uses a CRichEditCtrl Pin
Danny S10-Nov-05 5:12
Danny S10-Nov-05 5:12 
QuestionCxImage,gif animation Pin
Csaba Csata10-Nov-05 5:10
Csaba Csata10-Nov-05 5:10 
QuestionUsing database and recordsets with multiple .mdb files. Pin
Mark F.10-Nov-05 4:50
Mark F.10-Nov-05 4:50 
AnswerRe: Using database and recordsets with multiple .mdb files. Pin
hairy_hats10-Nov-05 5:33
hairy_hats10-Nov-05 5:33 
GeneralRe: Using database and recordsets with multiple .mdb files. Pin
Mark F.10-Nov-05 6:14
Mark F.10-Nov-05 6:14 
AnswerRe: Using database and recordsets with multiple .mdb files. Pin
David Crow10-Nov-05 8:54
David Crow10-Nov-05 8:54 
GeneralRe: Using database and recordsets with multiple .mdb files. Pin
Mark F.11-Nov-05 10:15
Mark F.11-Nov-05 10:15 
QuestionDirectX - How to Create Virtual Video Capture Source using the Filter Pin
Vishal Jariwala10-Nov-05 4:15
Vishal Jariwala10-Nov-05 4:15 
QuestionWeird memory issue Pin
Axonn Echysttas10-Nov-05 4:00
Axonn Echysttas10-Nov-05 4:00 
AnswerRe: Weird memory issue Pin
S. Senthil Kumar10-Nov-05 4:55
S. Senthil Kumar10-Nov-05 4:55 

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.