C prog that reads records using a linked list

Concluído Postado Oct 18, 2001 Pago na entrega
Concluído Pago na 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

Programação C Engenharia Linux MySQL PHP Arquitetura de software Teste de Software UNIX

ID do Projeto: #2829522

Sobre o projeto

38 propostas Projeto remoto Ativo em Oct 19, 2001

Concedido a:

alirazavw

See private message.

$7 USD em 14 dias
(7 Comentários)
1.3

38 freelancers estão ofertando em média $32 nesse trabalho

amitdeyvw

See private message.

$25.5 USD in 14 dias
(26 Comentários)
5.6
cinterosystems

See private message.

$21.25 USD in 14 dias
(139 Comentários)
5.6
sammyleong

See private message.

$11.05 USD in 14 dias
(80 Comentários)
5.2
jimcvw

See private message.

$17 USD in 14 dias
(46 Comentários)
4.8
hardwiredvw

See private message.

$8.5 USD in 14 dias
(19 Comentários)
4.8
vw139994vw

See private message.

$51 USD in 14 dias
(60 Comentários)
4.5
elmiguel409

See private message.

$17 USD in 14 dias
(35 Comentários)
4.3
teamsgreen

See private message.

$42.5 USD in 14 dias
(48 Comentários)
4.3
alokgarg

See private message.

$11.9 USD in 14 dias
(69 Comentários)
4.2
wirovw

See private message.

$25.5 USD in 14 dias
(11 Comentários)
4.2
daddisonvw

See private message.

$17 USD in 14 dias
(12 Comentários)
4.2
vw132761vw

See private message.

$29.75 USD in 14 dias
(33 Comentários)
4.2
programervw

See private message.

$21.25 USD in 14 dias
(35 Comentários)
3.8
iodra

See private message.

$21.25 USD in 14 dias
(26 Comentários)
3.8
shuvovse

See private message.

$17 USD in 14 dias
(11 Comentários)
3.8
futuristicvw

See private message.

$42.5 USD in 14 dias
(7 Comentários)
3.4
realgoodteam

See private message.

$102 USD in 14 dias
(12 Comentários)
3.5
edostvw

See private message.

$21.25 USD in 14 dias
(14 Comentários)
3.4
jaredricks

See private message.

$3.4 USD in 14 dias
(9 Comentários)
3.2
odysseyvw

See private message.

$17 USD in 14 dias
(32 Comentários)
3.3