GithubHelp home page GithubHelp logo

easy-address-book's Introduction

简易通讯录程序(控制台划水~~~)

说明:本程序使用 Dev-C++(v5.11) 进行开发,-std=c++11

UML类图

https://raw.githubusercontent.com/ds-group-innovation/easy-address-book/master/addressBookUML.png

文件组织结构

addressBook.dev           # 项目文件
    addressBook.txt       # 通讯录数据文件
    addresslist.h         # 此处定义了承载通讯录的单链表和对链表操作的函数
    main.cpp              # 主文件
    menu.cpp              # 各个菜单类的实现:LoginMenu、AdminMenu、AuthMenu,实现用于创建工厂实例的creat_menu函数
    menu.h                # 此处定义了与操作菜单相关的类与类内方法,菜单使用简单工厂模式设计,工厂类为HanddleAddressBook。
    people.h              # 定义Person类,以及与通讯录人员有关的方法
    people.cpp            # 实现Person类以及相关方法
    test.cpp              # 测试函数的实现,有点不正规
    test.h

这里所使用的设计模式:简单工厂模式,好像有点不对劲。。。😂

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.