当前位置:网站首页>C language set operation
C language set operation
2022-06-27 16:21:00 【_ Programming_】
C Language set operation
【 subject 13】 Set operations
One 、 Design topic
Set operations
Two 、 Design content
【 Title Description 】
There are two sets represented by a single linked list A、B, Its element type is int And store... In a non decreasing manner , The head nodes are a、b. The result sets in the following questions are also required to be stored in a non decreasing manner , The result set does not affect the original set .
【 Subject requirements 】
1) Write a collection element test function IN_SET, If the element has already returned in the collection 0, Otherwise return to 1;
2) Write a function to input the set elements and insert them into the single linked list INSERT_SET, Ensure that the elements in the input set are unique and stored in the single linked list in a non decreasing manner ;
3) Write the set element output function , Output the set linked list in a non incremental manner ;
4) Write a solution set A、B Of C=A∩B Function of , And output the set C The elements of ;
5) Write a solution set A、B And D=A∪B Function of , And output the set D The elements of ;
6) Please assemble A And B Symmetry difference of E=(A-B)U(B-A) Function of , And output the set D The elements of ;
7) Design a menu , With input set elements 、 Please assemble A、B Of C、 Please assemble A、B And D、 Please assemble A And B Symmetry difference of E、 Exit and other basic functions .
Test data : Self determination , But set A、B The number of elements must not be less than 16 individual .
【 Input / Output requirements 】
(1) After the application runs , Show a menu first , Then the user selects the corresponding operation items as required . After entering each operation , Input the corresponding information according to the prompts of the program ;
(2) Output the rendering of each function .
3、 ... and 、 The basic requirements
1、 Requirements for writing source programs :
1) Be able to realize the functions in the assignment ;
2) Make the interface as friendly as possible 、 intuitive 、 Easy to operate
3) The source program should have appropriate comments , Make the program easy to read .
2、 writing “ Course design report ", Requirements are as follows :
1) cover : Unified adoption 《 Curriculum design specification of Changzhou University 》 Cover format
2) Mission statement
3) Catalog
4)“ Course design report " Text
3、 Course design acceptance requirements :
1) Run the designed system ;
2) Answer relevant questions ;
3) Submit course design report ;
4) Submit the source program .
Four 、 Schedule
1、 Systems analysis 、 Design preparation stage :4 Class hours
2、 Programming and debugging stage :30 Class hours
3、 Summarize and write the course design report :2 Class hours
4、 Machine room assessment stage :4 Class hours
Source download
link :https://pan.baidu.com/s/1JJs9vbZahUCB6cQvXLgAVg?pwd=1111
Extraction code :1111
边栏推荐
- 阿里云刘珅孜:云游戏带来的启发——端上创新
- 【Pygame小游戏】这款“吃掉一切”游戏简直奇葩了?通通都吃掉嘛?(附源码免费领)
- Introduce you to ldbc SNB, a powerful tool for database performance and scenario testing
- 带你认识图数据库性能和场景测试利器LDBC SNB
- Redis Series 2: data persistence improves availability
- substrate 技术每周速览 20220411
- Design of vga/lcd display controller based on FPGA (with code)
- Centos8 PostgreSQL initialization error: initdb: error: invalid locale settings; check LANG and LC_* environment
- 开源二三事|ShardingSphere 与 Database Mesh 之间不得不说的那些事
- [pyGame games] this "eat everything" game is really wonderful? Eat them all? (with source code for free)
猜你喜欢

Hung - Mung! HDD Hangzhou station · salon hors ligne vous invite à construire l'écologie

阿里云刘珅孜:云游戏带来的启发——端上创新

熊市慢慢,Bit.Store提供稳定Staking产品助你穿越牛熊

Open source 23 things shardingsphere and database mesh have to say

Leetcode daily practice (longest substring without repeated characters)

EMQ helps Qingdao Yanbo build a smart water platform

Annual comprehensive analysis of China's audio market in 2022
The role of the symbol @ in MySQL

Hierarchical clustering and case analysis
![[pygame Games] ce jeu](/img/3c/e573106ec91441a554cba18d5b2253.png)
[pygame Games] ce jeu "eat Everything" est fantastique? Tu manges tout? (avec code source gratuit)
随机推荐
Smart wind power | Tupu software digital twin wind turbine equipment, 3D visual intelligent operation and maintenance
New method of cross domain image measurement style relevance: paper interpretation and code practice
Does polardb-x open source support mysql5.7?
Leetcode daily practice (main elements)
Format of mobile number
#yyds干货盘点#简述chromeV8引擎垃圾回收
NFT dual currency pledge liquidity mining DAPP contract customization
Design of FIR digital filter
PolarDB-X现在版本的开源兼容什么?mysql8?
OpenSSF安全计划:SBOM将驱动软件供应链安全
开源二三事|ShardingSphere 与 Database Mesh 之间不得不说的那些事
C语言课程设计
A distribution fission activity is more than just a circle of friends!
米哈游起诉五矿信托,后者曾被曝产品暴雷
[pygame Games] ce jeu "eat Everything" est fantastique? Tu manges tout? (avec code source gratuit)
带你认识图数据库性能和场景测试利器LDBC SNB
Pragma once Usage Summary
P.A.R.A 方法在思源的简易应用(亲测好用)
3.3 one of the fixed number of cycles
SIGKDD22|图“预训练、提示、微调”范式下的图神经网络泛化框架