文件名称:struct
介绍说明--下载内容均来自于网络,请自行研究使用
有序整数顺序存储数列的合并与数据删除
本次实验要求学生设计、实现、测试一个C/C++程序,基本步骤为:
1 分别从两个文件中读取已排序好的正整数到两个数组中;
2 合并这两个数组到第三个有序数组中并在屏幕终端输出第三个数组的数据。两个数据相同时只选择其中之一输出;
3 报告输出数据中不同数据的个数;
4 从数组中连续删除部分数据再输出结果;
5 把第一步改成用键盘输入数据测试你的输出结果;
6 详细注释你的程序。
-Integer stored in an orderly sequence of series of mergers and the deletion of the experimental data requires students to design, implementation, testing a C/C++ program, the basic steps are as follows: 1, respectively, read from the two documents have been sorted into two good positive integer array China 2 to merge these two arrays into a third in an orderly array and on the screen output of the third terminal of the data array. At the same time, two data output to select only one of them 3 report output data of the number of different data 4 to delete a row from the array and then output the results of part of the data 5 the first step into the keyboard input data used to test the output you 6 detailed notes of your procedures.
本次实验要求学生设计、实现、测试一个C/C++程序,基本步骤为:
1 分别从两个文件中读取已排序好的正整数到两个数组中;
2 合并这两个数组到第三个有序数组中并在屏幕终端输出第三个数组的数据。两个数据相同时只选择其中之一输出;
3 报告输出数据中不同数据的个数;
4 从数组中连续删除部分数据再输出结果;
5 把第一步改成用键盘输入数据测试你的输出结果;
6 详细注释你的程序。
-Integer stored in an orderly sequence of series of mergers and the deletion of the experimental data requires students to design, implementation, testing a C/C++ program, the basic steps are as follows: 1, respectively, read from the two documents have been sorted into two good positive integer array China 2 to merge these two arrays into a third in an orderly array and on the screen output of the third terminal of the data array. At the same time, two data output to select only one of them 3 report output data of the number of different data 4 to delete a row from the array and then output the results of part of the data 5 the first step into the keyboard input data used to test the output you 6 detailed notes of your procedures.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验1.cpp