C prog that reads records using a linked list

Completed Posted Oct 18, 2001 Paid on delivery
Completed Paid on delivery

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

C Programming Engineering Linux MySQL PHP Software Architecture Software Testing UNIX

Project ID: #2829522

About the project

38 proposals Remote project Active Oct 19, 2001

Awarded to:

alirazavw

See private message.

$7 USD in 14 days
(7 Reviews)
1.3

38 freelancers are bidding on average $32 for this job

amitdeyvw

See private message.

$25.5 USD in 14 days
(26 Reviews)
5.6
cinterosystems

See private message.

$21.25 USD in 14 days
(139 Reviews)
5.6
sammyleong

See private message.

$11.05 USD in 14 days
(80 Reviews)
5.2
jimcvw

See private message.

$17 USD in 14 days
(46 Reviews)
4.8
hardwiredvw

See private message.

$8.5 USD in 14 days
(19 Reviews)
4.8
vw139994vw

See private message.

$51 USD in 14 days
(60 Reviews)
4.5
elmiguel409

See private message.

$17 USD in 14 days
(35 Reviews)
4.3
teamsgreen

See private message.

$42.5 USD in 14 days
(48 Reviews)
4.3
alokgarg

See private message.

$11.9 USD in 14 days
(69 Reviews)
4.2
wirovw

See private message.

$25.5 USD in 14 days
(11 Reviews)
4.2
daddisonvw

See private message.

$17 USD in 14 days
(12 Reviews)
4.2
vw132761vw

See private message.

$29.75 USD in 14 days
(33 Reviews)
4.2
programervw

See private message.

$21.25 USD in 14 days
(35 Reviews)
3.8
iodra

See private message.

$21.25 USD in 14 days
(26 Reviews)
3.8
shuvovse

See private message.

$17 USD in 14 days
(11 Reviews)
3.8
futuristicvw

See private message.

$42.5 USD in 14 days
(7 Reviews)
3.4
realgoodteam

See private message.

$102 USD in 14 days
(12 Reviews)
3.5
edostvw

See private message.

$21.25 USD in 14 days
(14 Reviews)
3.4
jaredricks

See private message.

$3.4 USD in 14 days
(9 Reviews)
3.2
odysseyvw

See private message.

$17 USD in 14 days
(32 Reviews)
3.3