Click here to Skip to main content
15,915,319 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: "cout" and "cin" won't work Pin
Verolix2-Nov-04 10:15
Verolix2-Nov-04 10:15 
GeneralMoving Horz ScrollBar Pin
manosza2-Nov-04 6:52
manosza2-Nov-04 6:52 
Generalpreferences in registry Pin
ehh2-Nov-04 6:37
ehh2-Nov-04 6:37 
GeneralRe: preferences in registry Pin
BlackDice2-Nov-04 6:46
BlackDice2-Nov-04 6:46 
GeneralRe: preferences in registry Pin
David Crow2-Nov-04 6:56
David Crow2-Nov-04 6:56 
GeneralRe: preferences in registry Pin
Blake Miller2-Nov-04 7:46
Blake Miller2-Nov-04 7:46 
GeneralRe: preferences in registry Pin
ehh3-Nov-04 6:47
ehh3-Nov-04 6:47 
GeneralSchool projects Pin
Izaquad2-Nov-04 6:29
Izaquad2-Nov-04 6:29 
could someone help me code this. I've tried everyway i know how.
1. You will simulate a memory bank of a computer using an array.

1. The program will read in an input file that represents a series of commands to the system to start and stop of different programs.

2. Each program will have an identification number (int) and a memory size (int)

3. Your program will search the array representing the computer's memory for the smallest available space in memory large enough for the program being called and reserve those array locations for the program being started.

4. When an end program call is made the program's memory is released.

5. If enough memory is not currently available, the program will go on a waiting list until such time as enough memory is available in one location or until it is cancelled.

6. The waiting list gives higher priority to programs started first.

7. Your memory array will be of a fixed size of 2048 units.

8. For the purposes of this lab the waiting list can be implemented as an array of length 50.

9. Output each action taken to the screen (program starting, stopping, entering or leaving the waiting list).

GeneralRe: School projects Pin
David Crow2-Nov-04 6:57
David Crow2-Nov-04 6:57 
GeneralRe: School projects here is my code Pin
Izaquad2-Nov-04 7:32
Izaquad2-Nov-04 7:32 
GeneralRe: School projects here is my code Pin
David Crow2-Nov-04 7:52
David Crow2-Nov-04 7:52 
GeneralRe: lab8dat.txt Pin
Izaquad2-Nov-04 9:10
Izaquad2-Nov-04 9:10 
GeneralRe: School projects Pin
includeh102-Nov-04 7:27
includeh102-Nov-04 7:27 
GeneralRe: Tips Pin
Budric B.2-Nov-04 7:59
Budric B.2-Nov-04 7:59 
GeneralFeature request - Limit the Editor Window size in Visual Studio NET Pin
van12-Nov-04 6:27
van12-Nov-04 6:27 
GeneralRe: Feature request - Limit the Editor Window size in Visual Studio NET Pin
BlackDice2-Nov-04 6:40
BlackDice2-Nov-04 6:40 
GeneralRe: Feature request - Limit the Editor Window size in Visual Studio NET Pin
Henry miller2-Nov-04 8:00
Henry miller2-Nov-04 8:00 
QuestionHow to define an array of the object in class ( with code ) Pin
Cramp2-Nov-04 6:19
Cramp2-Nov-04 6:19 
AnswerRe: How to define an array of the object in class ( with code ) Pin
Joaquín M López Muñoz2-Nov-04 6:50
Joaquín M López Muñoz2-Nov-04 6:50 
GeneralRe: How to define an array of the object in class ( with code ) Pin
Cramp2-Nov-04 7:57
Cramp2-Nov-04 7:57 
GeneralBinary Image formation Pin
Jaso_O2-Nov-04 5:52
Jaso_O2-Nov-04 5:52 
GeneralRe: Not easy Pin
Budric B.2-Nov-04 6:50
Budric B.2-Nov-04 6:50 
GeneralRe: Not easy Pin
Jaso_O2-Nov-04 8:13
Jaso_O2-Nov-04 8:13 
GeneralSDI Project - Tool Bar Question. Pin
jerry1211a2-Nov-04 4:36
jerry1211a2-Nov-04 4:36 
GeneralRe: SDI Project - Tool Bar Question. Pin
Jack Puppy2-Nov-04 14:45
Jack Puppy2-Nov-04 14:45 

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.