-
最小生成树的Kruskal算法
C语言算法编程。最小生成树的Kruskal算法 。求加权连通图的最小生成树的算法。kruskal算法总共选择n- 1条边,(共n个点)所使用的贪心准则是:从剩下的边中选择一条不会产生环路的具有最小耗费的边加入已选择的边的集合中。注意到所选取的边若产生环路则不可能形成一棵生成树。kruskal算法分e 步,其中e 是网络中边的数目。按耗费递增的顺序来考虑这e 条边,每次考虑一条边。当考虑某条边时,若将其加入到已选边的集合中会出现环路,则将其抛弃,否则,将它选入。
- 2022-01-30 15:28:05下载
- 积分:1
-
RS232串口通信代码
RS232的串口通信代码,VC实现这个功能,实现数据的收发功能
- 2022-04-07 00:47:56下载
- 积分:1
-
openssl engine
vs2010版编译的openssl engine,可直接使用;
1、openssl-1.0.1e
2、perl4.5
3、vs2010
4、开始菜单进入vs命令行
Microsoft Visual Studio 2010Visual Studio ToolsVisual Studio 命令提示(2010)
cd e:openssl-0.9.8
设置编译环境
perl Configure VC-WIN32
创建编译文件
msdo_ms
编译动态库
nmake -f ms
tdll.mak
编译静态库
nmake -f ms
tl.mak
- 2023-03-04 13:30:06下载
- 积分:1
-
SendMessage
一个sendmessage与getmessage的简单示例(Sendmessage with a simple example getmessage)
- 2009-05-12 17:25:56下载
- 积分:1
-
Draw
MDI 应用程序是另一类重要的文档视结构程序。它的特点是:用户一次可以打开多个文档,每个文档对应不同的窗口;主窗口的菜单会自动随着当前活动的子窗口的变化而变化;可以对子窗口进行层叠、平铺等各种操作;子窗口可以在MDI 主窗口区域内定位、改变大小、最大化和最小化,当最大化子窗口时,它将占满MDI 主窗口的全部客户区。MDI 不仅可以在同一时间内同时打开多个文档,还可以为同一文档打开多个视图。在Windows 菜单下选择New ,就为当前活动文档打开一个新的子窗口。
(MDI application is another important document, as the structure of the procedure. It is characterized by: a user can open multiple documents, each document corresponds to a different window main window menu automatically with the current activities of the sub-window changes can be stacked pair window, tile, etc. types of operation MDI child window in the main window positioning the region to change the size, to maximize and minimize, maximize the child window when it will occupy the entire main window MDI client area. MDI at the same time not only to open multiple documents at the same time, can also open multiple views of the same document. In the Windows menu select New, on the activities for the current document open a new sub-window.)
- 2009-07-15 01:11:43下载
- 积分:1
-
坐标正反算
坐标的正算和反算,非常好的程序,可以实现西安80坐标转北京54坐标,其中计算了四个参数是用已知点计算得来的,然后用80坐标就可以求得54坐标
- 2022-09-27 13:05:03下载
- 积分:1
-
shop_manager
说明: 设计一个程序,对商铺信息管理,商铺信息包括:商铺编号,商铺名,信誉度(0-5),(商品名称1,价格1,销量1),(商品名称2,价格2,销量2),(商品名称3,价格3,销量3)…。
商品名称包括(毛巾,牙刷,牙膏,肥皂,洗发水,沐浴露等6种以上商品),每个商铺具有其中事先确定若干商品及价格,由文件输入,销量初始为0。(Designing a program to manage shop information, which includes: shop number, shop name, reputation (0-5), (commodity name 1, price 1, sales volume 1), (commodity name 2, price 2, sales volume 2), (commodity name 3, price 3, sales volume 3)....
Commodity names include (towels, toothbrushes, toothpaste, soap, shampoo, bath lotion, etc.) more than 6 kinds of goods, each shop has a number of goods and prices in advance, input by documents, initial sales of 0.)
- 2019-02-06 19:05:42下载
- 积分:1
-
其实学Delphi并不难,看你的努力程度,我才学了一个学期,就已经可以做一些小的应用软件了,
现在在接做两个大的系统,首先要相信自己,才能有可能成功,找些好...
其实学Delphi并不难,看你的努力程度,我才学了一个学期,就已经可以做一些小的应用软件了,
现在在接做两个大的系统,首先要相信自己,才能有可能成功,找些好的书,如《DELPHI编程技巧与实例》等,-Actually, academic Delphi is not difficult to see your efforts, I scholarship for a semester. it can do some small software applications, now done in the following two systems, we must first believe in themselves and may be successful, and find some good books, like "Delphi programming techniques and examples."
- 2022-09-09 16:20:03下载
- 积分:1
-
SmoONE-master
手机App开发实例,包含数据库,源码,是一个完整的手机App实例,安卓,苹果,均支持,供大家参考(Mobile App development example, including database, source code, is a complete mobile App example for your reference.)
- 2020-06-18 05:00:02下载
- 积分:1
-
STM32在马达控制上的应用
说明: 可用于理解直流无刷三相电机进行六步PWM驱动时,有感方案的硬件触发方式,通过霍尔传感器接口定时器单脉冲触发六步PWM配置更新(It can be used to understand the hardware trigger mode of the inductive scheme when the DC three-phase motor is driven by six step PWM, and to trigger the six step PWM configuration update by the single pulse of the hall sensor interface timer)
- 2020-05-28 08:59:41下载
- 积分:1