Giter Club home page Giter Club logo

phonenumber's Introduction

Coding Requirements

You will first add the LinkedListCell class used in lab (see Lab 13). You do not need to modify this class. To add a new class to a Visual Studio project:

  • Right-click on the project name in the Solution Explorer
  • Select Add->New Item
  • Select Class, and type the name of the class in the text box at the bottom
  • Click Add
  • The new class should now appear in the Solution Explorer, and its code

window should open for you to modify For LinkedListCell, copy the code from Lab 13 (from “public class LinkedListCell” down to just before the last bracket) and paste it into the code window for that class. Make sure the namespace listed in the file is for THIS project, not for Lab 13. Next, add the class PhoneCount using the process above (you will develop this class from scratch). This class should contain:

  • Fields for a phone number and a count for how many times that number was called
  • A property to get the phone number, and a property to get and set the count
  • A constructor to take values for the fields and initialize them
  • Finally, you will modify the UserInterface class to add functionality to the GUI. You may organize your code however you wish subject to the following requirements:
  • You should have fields for the two linked lists of phone numbers (both should be type LinkedListCell
  • For each input file, you should read the phone numbers into the corresponding linked list. Each phone number (and count) should be stored in a separate cell in the list. If you read a number that you have seen previously in that file, be sure to update the count of the corresponding PhoneCount object instead of creating a new object.
  • When finding overlaps, you should search through the first linked list looking for numbers that meet the minimum count. When you find one, search also through the second linked list to see if you can find a matching number that also meets the minimum.

phonenumber's People

Contributors

kevb10 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.