Find Jobs
Hire Freelancers

C Programming with persistent data - borland compiler preferably

$100-500 USD

Cancelado
Publicado hace alrededor de 12 años

$100-500 USD

Pagado a la entrega
(on a single data file). The program will display a menu in a loop (accepting 1:5 as values) which allows the user to: 1. Add Student 2. Delete Student 3. List Students 4. Compact Records 5. Exit Notes: Adding students should ideally include a restriction that the Student No. is unique. Student should be deleted, after requesting a Student no. as the key. If the student record cannot be found, the user should be informed, otherwise the record should be marked with '*' in the first byte. List Students, should display on Screen a list of all active students on file, followed by the Total no. of records & No. of deleted students values retrieved from the header record. Appropriate titles & formatting should be used for displaying this information in a meaningful manner. Compact Records, should cause the removal of all external fragmentation from the file. Adding, deleting & compacting record(s) options, should result in the appropriate updates to the header record and informative messages to the user of the outcome. Appropriate error checking should be included (e.g. checking for successful opening of files) Suggestion: At the commencement of your program, you should check to see if the student file already exists, if not, create one and add an initialised header record & inform user. The data file will be named "[login to view URL]" and is a binary file. The data file will contain a header record and student records. Header Record fields: Int: Total Records (No. of records stored on file incl. Those marked for deletion); Int: No. of Deleted Records (No. of records marked for deletion); Char: Filler [16]. Student Record fields: Char: Student No[6] (Student no. with the following format 'C1234'); Char: Last name [16]; Char: First name [16]; Char: Address [26]; Char: Program Code [6] (e.g. DT228); Char: Program Year [1] (Only allowed values: '1','2','3' or '4') Marking Criteria: Demonstration of a working program (50%) Algorithm design & creativity (30%) Code & pseudocode documentation (20%) Some examples (not exclusive) of creativity: Using functions Applying uniqueness to Student No.s Allowing the user to list active students by programme code/year Sorting on compaction
ID del proyecto: 2730491

Información sobre el proyecto

Proyecto remoto
Activo hace 12 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos

Sobre este cliente

Bandera de IRELAND
Ireland
0,0
0
Miembro desde abr 10, 2012

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.