Question: CIS 22B Intermediate Programming Methodologies in C++ Programming Assignments Homework 6 100 Points Linked Lists As en entry-level programmer you have to be able to
CIS 22B Intermediate Programming Methodologies in C++ Programming Assignments
Homework 6
100 Points
Linked Lists
As en entry-level programmer you have to be able to read, understand existing code and update it (add new features). This is one of this assignments goals: read about 600 lines of code (Projects A & B), compile and run these projects, read and understand the code, then change it as required. You are encouraged to reuse as much code as possible.
Project A: Student List // Code Review + write and test one function (Student struct) StudentList.h, StudentList.cpp, 22B_H6_A_Stu.cpp
Program 6A 10 Write a function that displays students with gpa <= a given gpa as show below
list.displayList(3.0);
CIS 22B Intermediate Programming Methodologies in C++ Programming Assignments
Project: Build and process a sorted linked list.
Write a program that does the following:
A. Reads data from a text file (colleges.txt) and inserts them into a sorted linked list. Create the input file using the data on the next page. The list is to be sorted in ascending order by the college ID named code (a unique key). TheCollege class has four data members:
code (string) name (string) rank (int) cost (int)
such as SBCC Santa Barbara City College 3 18524
| College |
- code - name - rank - noStu |
| + College() + College () // overloaded constructor // setters + setCode() + setName() + setRank() + setCost() // getters + getCode() + getName() + getRank() + getCost() // other functions + hDdisplay() + vDisplay() |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
