C + + Small Project-University Association management system

Source: Internet
Author: User

A few days ago the teacher said let me change a little project I have done before, for the new member practiced hand. Think that when I first touch object-oriented programming, but also need a small case to know and deepen the understanding of C + +, now engaged in this thing, hope can help learn younger brother learn younger sisters, Hee-so.

Just finished reading "Effective C + +" and "more effective C + +", the original code for some expansion.


Cut a few pictures first.

1. Main interface



2. Display Menu



3. Add Menu




Code

Engine section

Kexie class

Abstract base class, member variables contain the contents of the Membership information Registration Form , member functions

Including

Gets the information for the member variable,

Sets the value of the member variable,

Display information,

Determine if the information input is valid,

Save the information to (file),

Load information (from a file),

Show sub-class information

Group category

Inherits from the Kexie class, calls the Kexie class function to manage its own information, and has the corresponding subclass function

Main function Section

Main function

Including

Show member Information

Increase member information

Delete Member information

Find member Information

Funlib function Library

Including

Show Membership Information Menu

Show All _ all members

Show All _c++ Group members

Show All _ps Group members

Show All _java Group members

Show All _ site group members

Show all _ Embedded Group members

Add Membership Information Menu

Added _c++ Group members

Added _ps Group members

Added _java Group members

Add _ Site Group members

Add _ Embedded Group member

Delete Membership Information Menu

(By the school number) to delete the association member

Delete all Members

Find membership Information Menu

Search by the number of Science Association members

(from text, database) to load Association member information

Storage of Science Association member information (to text, database)



Code address

C + + Member management system

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

C + + Small Project-University Association management system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.