资源列表
[C#编程] shape
说明:采用c++语言编写,主要是求圆形和矩形的面积和体积,里面涉及了类的继承和虚函数的重载,其他还编写了求面积函数和输出函数,最后运用到主函数里面。- Using c++ language, mainly of circular and rectangular area and volume, which involves a heavy-duty class inheritance and virtual functions, the other also prepared a request<朱琳艳> 在 2025-06-06 上传 | 大小:1kb | 下载:0
[C#编程] ReadFileToMatrixData
说明:读取文本文件中的数据,存储到二维数组中,数据可不确定行数和列数-Data read text files stored in the two-dimensional array, the data can be uncertain number of rows and columns<王贵> 在 2025-06-06 上传 | 大小:1kb | 下载:0
[C#编程] yuesefusi
说明:约瑟夫斯(Josephus)问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向下一个人开始重新从1报数,如此下去,直至所有的人全部出列为止。试设计一个程序,按出列顺序印出各人编号。 利用单向循环链表存储结构模拟此过程,按照出列的顺序印出各人的编号。 -Josephus (Josephus) a<谢双春> 在 2025-06-06 上传 | 大小:1kb | 下载:0
[C#编程] vector.cpp
说明:有关于vector的程序,用于检测两个vector量是否相同,但是此程序还可以检测两个vector含有多个重复元素的情况并加入了非法输入检测。属于考虑周全的程序。-This assignment asks students to write a program to find if two vectors have the same elements with the condition that the order and multiplicities are ignored. For req<christian> 在 2025-06-06 上传 | 大小:1kb | 下载:0