C prog that reads records using a linked list

Ukończone Opublikowano Oct 18, 2001 Płatność przy odbiorze
Ukończone Płatność przy odbiorze

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

Programowanie C Inżynieria Linux MySQL PHP Architektura oprogramowania Testowanie oprogramowania UNIX

Numer ID Projektu: #2829522

O projekcie

38 ofert Zdalny projekt Aktywny Oct 19, 2001

Przyznany użytkownikowi:

alirazavw

See private message.

$7 USD w ciągu 14 dni
(7 ocen)
1.3

38 freelancerów złożyło ofertę za $32 w tym projekcie

amitdeyvw

See private message.

$25.5 USD w ciągu 14 dni
(26 Oceny)
5.6
cinterosystems

See private message.

$21.25 USD w ciągu 14 dni
(139 Oceny)
5.6
sammyleong

See private message.

$11.05 USD w ciągu 14 dni
(80 Oceny)
5.2
jimcvw

See private message.

$17 USD w ciągu 14 dni
(46 Oceny)
4.8
hardwiredvw

See private message.

$8.5 USD w ciągu 14 dni
(19 Oceny)
4.8
vw139994vw

See private message.

$51 USD w ciągu 14 dni
(60 Oceny)
4.5
elmiguel409

See private message.

$17 USD w ciągu 14 dni
(35 Oceny)
4.3
teamsgreen

See private message.

$42.5 USD w ciągu 14 dni
(48 Oceny)
4.3
alokgarg

See private message.

$11.9 USD w ciągu 14 dni
(69 Oceny)
4.2
wirovw

See private message.

$25.5 USD w ciągu 14 dni
(11 Oceny)
4.2
daddisonvw

See private message.

$17 USD w ciągu 14 dni
(12 Oceny)
4.2
vw132761vw

See private message.

$29.75 USD w ciągu 14 dni
(33 Oceny)
4.2
programervw

See private message.

$21.25 USD w ciągu 14 dni
(35 Oceny)
3.8
iodra

See private message.

$21.25 USD w ciągu 14 dni
(26 Oceny)
3.8
shuvovse

See private message.

$17 USD w ciągu 14 dni
(11 Oceny)
3.8
futuristicvw

See private message.

$42.5 USD w ciągu 14 dni
(7 Oceny)
3.4
realgoodteam

See private message.

$102 USD w ciągu 14 dni
(12 Oceny)
3.5
edostvw

See private message.

$21.25 USD w ciągu 14 dni
(14 Oceny)
3.4
jaredricks

See private message.

$3.4 USD w ciągu 14 dni
(9 Oceny)
3.2
odysseyvw

See private message.

$17 USD w ciągu 14 dni
(32 Oceny)
3.3