-
问题的提出:编写一个长途电话计费程序,计费规则是每6秒钟0.06元,要求能输入发话地、收话地,输出话费。...
问题的提出:编写一个长途电话计费程序,计费规则是每6秒钟0.06元,要求能输入发话地、收话地,输出话费。-Of the problem: the preparation of a long-distance telephone billing procedures, billing rules is 0.06 yuan per 6 seconds, the requirements to enter the caller to close, then, the output charges.
- 2022-07-07 06:06:19下载
- 积分:1
-
C# WPF把彩色图片转换为灰度图
C# 把彩色图片转换为灰度图,这是一个基于WPF的C#图像处理程序,图像彩色转换黑白,支持的图像文件格式为:JPeg,Gif,Bmp,etc。
程序主要实现两个功能,一是将彩色转换为索引像素格式、二是将彩色转换为黑白像素格式,对应于窗口中的按钮,可查看对应功能的演示:
将彩色转换为黑白像素格式,核心代码如下:
TransformedBitmap MyRotatedBitmapSource = new TransformedBitmap();
MyRotatedBitmapSource.BeginInit();
MyRotatedBitmapSource.Source = (System.Windows.Media.Imaging.BitmapSource)this.image1.Source;
MyRotatedBitmapSource.Transform = new RotateTransform(270);
MyRotatedBitmapSource.EndInit();
FormatConvertedBitmap MyFormatedBitmap = new FormatConvertedBitmap();
MyFormatedBitmap.BeginInit();
MyFormatedBitmap.Source = MyRotatedBitmapSource;
MyFormatedBitmap.DestinationFormat = PixelFormats.BlackWhite;
MyFormatedBitmap.EndInit();
this.image1.Source = MyFormatedBitmap;
完整源码例子请在本页下载,运行效果截图如下图示。
- 2022-02-01 21:42:57下载
- 积分:1
-
RBF实现隐式曲面重建
- 2022-12-20 04:40:03下载
- 积分:1
-
the football scores on the development of procedures for the application of smal...
基于c++的symbian开发应用小程序-the football scores on the development of procedures for the application of small
- 2022-01-30 13:18:56下载
- 积分:1
-
C# to write code statistical procedures
C#写的代码统计程序-C# to write code statistical procedures
- 2022-02-03 00:10:04下载
- 积分:1
-
迷你QQ完整源码下载,可以登陆。和 收发信息(亲测通过)
可以聊天和登陆,但是,不知道为什么在聊天中再发起第二个时会出错,
- 2014-06-23下载
- 积分:1
-
电话目录
此程序文件是在 c + + 数字电话目录执行。它作为一个输入联系人姓名,地址和电话号码并将其保存。
- 2023-07-23 02:40:03下载
- 积分:1
-
步进电机控制画圆 直线c语言
步进电机控制画圆 直线用c语言写的 很方便移植,欢迎大家下载。
......
line(0.0,0.0,40.0,50.0); //从(0.0)到(40.50)的直线
line(40.0,50.0,70.0,50.0); //从(40.50)到(70.50)的直线
circle(40.0,50.0,30.0); //以(40.50)为圆心,30为半径画圆
line(70.0,50.0,40.0,50.0); //从(70.50)到(40.50)的直线
line(40.0,50.0,50.0,50.0); &nb
- 2022-02-13 14:49:16下载
- 积分:1
-
C语言实践100例
我只不过是站在巨人的肩膀上而已。给学生做培训的时候我参考得比较多的书有:Kernighan &
Ritchie的《The C Programming Language》;Linden的《Expert C Programming》;Andrew &
Koening《C Traps and Pitfalls》;Steve Maguire的《Write Clean Code》;Steve McConnell的
《Code Complete. Second Edition》;林锐的《高质量C++/C编程指南》。
- 2022-03-25 01:35:35下载
- 积分:1
-
LDC1314驱动程序
利用stm32驱动TI公司生产的专用金属感应芯片,该芯片可以搭配适当的线圈,通过互感与涡流效应检测出是否存在金属,本程序采用了ldc1314的四通道选项,可同时进行四路金属探测。
- 2022-02-25 17:25:21下载
- 积分:1