资源列表
[其他小程序] spreadsheet
说明:一个Qt 编写的spreadsheet 代码 代码易懂,非常适合初学者学习-the resource code of spreadsheet by Qt<LuJia> 在 2025-06-30 上传 | 大小:29kb | 下载:0
[控制台(字符窗口)编程] Cpp1
说明: 设计一个名为Account 类。这个类包含: (1)一个名为id 的int 型数据域,表示账户的身份号(默认值为0)。 (2)一个名为balance 的double 型数据域,表示账户余额(默认值为0)。 (3)一个名为annualInterestRate 的double 型数据域,保存当前年利率(默认值为0)。 (4)一个无实参构造函数,创建一个默认账户。 (5)id、balance 和annualInterestRate 的访问器和更改器函数。 (6)一<紫玉轩辕> 在 2025-06-30 上传 | 大小:627kb | 下载:0
[Windows编程] Cpp3
说明:设计一个程序,它接受一个正整数,降序输出其所有最小素数因子。例如,如果整数 是 120,则输出5、3、2、2、2。使用 StackOfIntegers 类保存因子(如 2、2、2、3、5), 并利用它逆序获取和输出因子。-Design a program that takes a positive integer, the output of all its minimum descending prime factor. For example, if the integer is 120,<紫玉轩辕> 在 2025-06-30 上传 | 大小:1.03mb | 下载:0
[Windows编程] Cpp5
说明:(1)编写一个程序,创建5 个Loan 对象,将它们写入一个名为Exercise12_6.dat 的文 件中。 (2)假定已经创建了一个名为Exercise12_6.dat 的文件。 编写一个程序,从文件中读取 Loan 对象,并计算总贷款额。假定你不知道文件中保存了多少个 Loan 对象。使用eof() 来检测文件末尾。-(1) Write a program to create five Loan objects, they are written in a file named<紫玉轩辕> 在 2025-06-30 上传 | 大小:1.07mb | 下载:0
[Windows编程] Cpp7
说明:前面定义了一个整数栈类,请自定义一个名为EmptyStackException 的异常类,并修改 pop 函数,使其在栈空时抛出一个 EmptyStackException 异常。编写一个测试程序,使用一 个try-catch 块处理此种异常。-Defines an integer stack in front of the class, make a custom exception class named EmptyStackException and modify the pop func<紫玉轩辕> 在 2025-06-30 上传 | 大小:1.04mb | 下载:0
[Windows编程] Cpp8
说明:(1)向Stack 类添加一个实例函数printStack,以打印栈中所有元素。 (2)为Stack 类添加一个实例函数contains(T element),检查给定元素是否在栈中。-(1) an instance of the class is added to the Stack function printStack, to print all the elements of the stack. (2) to add an instance of the Stack cla<紫玉轩辕> 在 2025-06-30 上传 | 大小:1.02mb | 下载:0
[C#编程] WCFDataServices
说明:微软提供的学习Wcf和Wpf的例子,很好的资料。-Microsoft WCF Data Services Application Sample This sample shows a simple WCF Data Service exposing data through the ADO.NET Entity fr a mework and a WPF application consuming the WCF Data Service. The solution is mad<zhangwen> 在 2025-06-30 上传 | 大小:1.41mb | 下载:0