Find Jobs
Hire Freelancers

c++ program

$30-5000 USD

Ολοκληρώθηκε
Αναρτήθηκε πάνω από 22 χρόνια πριν

$30-5000 USD

Πληρωμή κατά την παράδοση
c++ program the objective of this assignment is to give you an apportunity to simulate some of the operation (function) normaly found in microcomputer file system for maintaining its directory and file allocation tables ## Deliverables c++ program the objective of this assignment is to give you an apportunity to simulate some of the operation (function) normaly found in microcomputer file system for maintaining its directory and file allocation tables (1) create :used to create a file by allocating 1 sector to it command:c fn where c=create , fn=file name (a sigle lower case letter a ...z)you may assume that when a file is created ,it is a new and unique file which does not exist in the directory table you may also assume that both tables are never [login to view URL] that the first entry in the directory table is used to store the file name. (2) add: used to add 1 sector to a file. command:a fn where a=add,fn=file [login to view URL] that the first sector available in the file allocation table is allocated .you may assume that the file already exist in the directory table (3) delete :used to delete a file and reclaim all sectors allocated to it command:d fn where d = delete ,fn file [login to view URL] may assume that the file already exist in the directory table (4) reclaim: used to reclaim a certain a mount of sectors for a file. command:r fn # where r = reclaim,fn = file name, # =number of sectors to be reclaimed >note that LIFO is used to reclaim the [login to view URL] may assume that 1 <= # <= the number of sectors allocated to the file you may also assume that the file already exist in the directory table (5) print : used to print ( to the screen ) all the information for the two tables command : p where p = print .Note that all file names and the sectors allocated to them should be shown you should use 2 arrays to implement the 2 [login to view URL] directory table should be a 1- dimentional array ranging from 0 to [login to view URL] array is defined in terms of structure having 2 fields (file name and first sector allocated).the file allocation table should also be a 1- dimentional array ranging from 0 to 50 .the array contains integers representing sectors allocated .all of the sectors are available to files.see....... program starts running Please enter a command : c a Please enter a command :a a Please enter a command :c b Please enter a command :c c Please enter a command :a a Please enter a command :a c Please enter a command :r a 1 Please enter a command :p file a :sector 0 , 1 file b: sector 2 file c : sector 3 ,5 Please enter a command : q for quit ## Deadline information 11/18/01
Ταυτότητα εργασίας: 2831516

Σχετικά με την εργασία

5 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 22 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
See private message.
$12 USD σε 14 ημέρες
4,9 (19 αξιολογήσεις)
4,8
4,8
5 freelancers δίνουν μια μέση προσφορά $20 USD για αυτή τη δουλειά
Avatar Χρήστη
See private message.
$25,50 USD σε 14 ημέρες
4,6 (60 αξιολογήσεις)
4,5
4,5
Avatar Χρήστη
See private message.
$34 USD σε 14 ημέρες
4,5 (33 αξιολογήσεις)
4,2
4,2
Avatar Χρήστη
See private message.
$17 USD σε 14 ημέρες
4,8 (21 αξιολογήσεις)
3,2
3,2
Avatar Χρήστη
See private message.
$11,05 USD σε 14 ημέρες
4,2 (12 αξιολογήσεις)
2,1
2,1

Σχετικά με τον πελάτη

Σημαία της UNITED STATES
United States
5,0
73
Μέλος από Σεπ 7, 2001

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.