-
工厂设计模式的示例 C#
这是在 Visual Studio 2012 上使用 C#.NET 的工厂设计模式执行的一个例子。
在软件设计迟早要用到一家工厂中有许多方案。基本上,当你使用一个家庭类多态性-盟友,你可以从使用工厂获益。通常一家工厂提供了以下好处:
脱钩了解如何创建具体类型的实例的客户端代码 (您使用这些类的代码)
将分离的客户端代码从这些具体的类本身的知识。这就是客户端代码只知道的抽象基类或接口,但不是派生或混凝土类
下面是同样的示范。
- 2022-04-10 18:35:56下载
- 积分:1
-
C语言编写的时钟源程序(上机通过的),可以显示时钟,而且有不同的显示方式,既能按机械表行走,又能按电子表显示时间和日期...
C语言编写的时钟源程序(上机通过的),可以显示时钟,而且有不同的显示方式,既能按机械表行走,又能按电子表显示时间和日期-C language clock source (on the plane), it shows the clock, but there are different methods, both by mechanical table walking, but also by electronic table shows the time and date! !
- 2022-04-26 11:24:33下载
- 积分:1
-
CCS基础代码
MEMORY
{
PAGE 0:
VECS: org=0x0080, len=0x80
PROM: org=0x1000, len=0x1000 /* 4k words */
PAGE 1:
STACK: org=0x100, len=0x400 /* 1k words */
DARAM: org=0x2000, len=0x1000 /* 4k words */
}
SECTIONS
{ .text :> PROM PAGE 0
vectors :> VECS PAGE 0
.bss :> DARAM PAGE 1
.data :> DARAM PAGE 1
}
- 2022-07-18 04:00:20下载
- 积分:1
-
综合实验源代码-世界时钟|综合实验源代码-世界时钟
综合实验源代码-世界时钟|综合实验源代码-世界时钟-Comprehensive Experiment source code- World Clock | Integrated Experimental source code- World Clock
- 2022-08-25 11:21:41下载
- 积分:1
-
基于labwindows/cvi的串口工具
使用labwindows/cvi 2015实现串口工具功能。包括串口选择,波特率选择,数据位选择,发送内容显示与接收内容显示,发送接收可控。下载后代码可用于二次开发。
- 2022-04-12 11:55:04下载
- 积分:1
-
MinisQL的源码,是用C++写的,仅供参加
MinisQL的源码,是用C++写的,仅供参加-the Sourse code of MiniSql by C++,which is only for refference.
- 2023-08-17 06:45:03下载
- 积分:1
-
运筹学的程序
本程序实现运筹学--非线形规划中的单纯形法,求fmin(X)=4*(X1-5)*(X1-5)+(X2-6)(X2-6)的具有最小值时的最优解,如需改变所求函数,在子函数f中修改即可-the program tacticians-- non-linear planning for the simplex method, seeking fmin (X) = 4* (X1- 5)* (X1- 5) (X2-6) (X2-6) with the minimum of the optimal solution, and if necessary change change the demand function, f Functions can be modified
- 2022-02-09 17:36:21下载
- 积分:1
-
一款自编的具有计算器功能的源码, 类似Windows计算器功能
一款自编的具有计算器功能的源码, 类似Windows计算器功能-A self-function calculator with source code, similar to Windows calculator function
- 2022-09-04 12:45:03下载
- 积分:1
-
一个机器ASPR 1码时,加密访问本地硬件
ASPr一机一码加密的时候取的本机硬件号-One machine ASPr 1 yards when encrypted access its local hardware
- 2023-06-20 04:15:03下载
- 积分:1
-
高效地对printf进行了修改,很适合在对串口打印要求速度很高的情况。...
高效地对printf进行了修改,很适合在对串口打印要求速度很高的情况。-Efficiently modified to printf, it is suitable for printing on the serial port speed high.
- 2023-07-09 08:45:03下载
- 积分:1