In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article, the editor introduces in detail "how to realize the member management system in C language". The content is detailed, the steps are clear, and the details are handled properly. I hope this article "how to realize the member management system in C language" can help you solve your doubts. Let's follow the editor's ideas to learn new knowledge.
Membership information includes: membership number (6 digits, unique), name, ID number, contact number, status (1 indicates normal, 0 indicates loss).
Member management includes: member addition, deletion, modification (member number can not be modified), loss report, inquiry, contact report loss.
First of all, let's see the effect:
The above code:
# include # include # include struct VIP / / definition structure, which stores member account number, name, ID number, contact information, status, balance {long no; char name [20]; / / name, ID number contains characters, and uses char to define char IDcard [19]; char phone [12]; / / contact number has 11 digits, which is beyond the scope of int. Use string to define int zhuangtai. / / if the status is 1, it is normal; if it is 0, the status is int yue;}; struct VIP s [50]; / / define the structure array int number 0; / / n represents the number of members deposited void init (); / / for the meaning, see main main function void print (); struct VIP gete (); void add1 (); void findbyno () Void findbyname (); void findbyIDcard (); void findbyphone (); void mod (); void del (); void sort (); void transaction (); void init () / / initialization (unique 6 member accounts) {int fanci1 / / 1 unique 0 not unique printf ("Please enter the member's account number, name, ID number, contact number, balance, status\ n"); printf ("stop entering when the membership number is 0"); while (n)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.