C prog that reads records using a linked list

Completado Publicado Oct 18, 2001 Pagado a la entrega
Completado Pagado a la entrega

You are to prepare a C program that reads a file containing employee records into a linked list (not an array). The program will then sort the list of records based upon a nominated field and then print a report of the employees. Employee information is as follows Employee Number Last Name First Name Hourly Rate The order shown is the order that information is stored in the file. The user runs the program by supplying two command line parameters. The first parameter is the name of the record data file. The second parameter is the number of the field to be sorted on. This can be a number in the range 1 to 4 with 1 being for employee number through to 4 for hourly rate. There are many algorithms for sorting data but the easiest (though not the most efficient) is Bubble Sort. To see how it works we start with a list of random numbers 7 4 6 1 8 5 Compare the 1st and 2nd number and if they are in the wrong order swap them around 1&2 4 7 6 1 8 5 Now compare the 2nd and the 3rd, the 3rd and the 4th and so on till the last two numbers. 2&3 4 7 6 1 8 5 3&4 4 7 1 6 8 5 4&5 4 7 1 6 8 5 5&6 4 7 1 6 5 8 At the end of this pass through the list it is slightly more ordered. We keep doing passes through the list until we make no more swaps. pass 2 4 1 6 5 7 8 pass 3 1 4 5 6 7 8 pass 4 1 4 5 6 7 8 After pass 4 we made no swaps so the list is now sorted in order. You can use this algorithm to sort the record list you create.

## Deliverables

Complete and fully-functional working program(s) in executable form as well as complete source code of all work done, including detailed comments

## Deadline information

deadline 29th October

Programación en C Ingeniería Linux MySQL PHP Arquitectura de software Verificación de software UNIX

Nº del proyecto: #2829522

Sobre el proyecto

38 propuestas Proyecto remoto Activo Oct 19, 2001

Adjudicado a:

alirazavw

See private message.

$7 USD en 14 días
(7 comentarios)
1.3

38 freelancers están ofertando un promedio de $32 por este trabajo

amitdeyvw

See private message.

$25.5 USD en 14 días
(26 comentarios)
5.6
cinterosystems

See private message.

$21.25 USD en 14 días
(139 comentarios)
5.6
sammyleong

See private message.

$11.05 USD en 14 días
(80 comentarios)
5.2
jimcvw

See private message.

$17 USD en 14 días
(46 comentarios)
4.8
hardwiredvw

See private message.

$8.5 USD en 14 días
(19 comentarios)
4.8
vw139994vw

See private message.

$51 USD en 14 días
(60 comentarios)
4.5
elmiguel409

See private message.

$17 USD en 14 días
(35 comentarios)
4.3
teamsgreen

See private message.

$42.5 USD en 14 días
(48 comentarios)
4.3
alokgarg

See private message.

$11.9 USD en 14 días
(69 comentarios)
4.2
wirovw

See private message.

$25.5 USD en 14 días
(11 comentarios)
4.2
daddisonvw

See private message.

$17 USD en 14 días
(12 comentarios)
4.2
vw132761vw

See private message.

$29.75 USD en 14 días
(33 comentarios)
4.2
programervw

See private message.

$21.25 USD en 14 días
(35 comentarios)
3.8
iodra

See private message.

$21.25 USD en 14 días
(26 comentarios)
3.8
shuvovse

See private message.

$17 USD en 14 días
(11 comentarios)
3.8
futuristicvw

See private message.

$42.5 USD en 14 días
(7 comentarios)
3.4
realgoodteam

See private message.

$102 USD en 14 días
(12 comentarios)
3.5
edostvw

See private message.

$21.25 USD en 14 días
(14 comentarios)
3.4
jaredricks

See private message.

$3.4 USD en 14 días
(9 comentarios)
3.2
odysseyvw

See private message.

$17 USD en 14 días
(32 comentarios)
3.3