ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 26 May 2017 My Price 8.00

implement a Linked List in C/C++

We are going to implement a Linked List in C/C++ and read records from a file. Supposed thatone record in the file takes 4 bytes and contains an unsigned integer type value. If there are 100records in the file, the total file size would be 4*100 bytes. However, we cannot assume howmany records there are in the file. That’s why we need to use a Linked List.Please follow the procedure:1. Implement a Linked List (addItem, removeAllItem, etc) first. You can use your codes inLab 4. Recommend you to use classes.2. Read all records from a file. The data file “data.dat” will be given. For grading, I will use adifferent data file, so you cannot specify (or limit) the number of the records.3. Add all records to the Linked List.4. Display all records on a console following the format: Record number from 1 and data.For example, it has to look like:5. At the end, display the number of records, the summation and average, and minimumand maximum values of the linked list. (The following is a just example)1: 1422: 35243: 55634: 25235: 143533…NUMBERS: 13SUM: 2423AVERAGE: 186.4MIN: 142MAX: 143533

Answers

(11)
Status NEW Posted 26 May 2017 12:05 AM My Price 8.00

-----------

Not Rated(0)