-
color
用于图论里面求最小着色数,这么长可以了吗?????(my english is really poor, dunt know how to translate it)
- 2013-09-18 22:55:53下载
- 积分:1
-
2
假设L1 = 12345678900987654321,L2 = 9876543210。
">
- 2013-05-11 08:52:41下载
- 积分:1
-
bandpass-filter
C语言实现带通滤波器,可以直接运行。在信号处理过程中非常有用(C language implementation bandpass filter, which can be run directly.In the process of signal processing is very useful)
- 2017-02-12 15:21:22下载
- 积分:1
-
hex转bin的程序
hex转bin的程序, 支持大于64K的hex, 网上下载的Hex2Bin不支持64k. 包含工程文件, 简单包装即可生成一个Hex2Bin的小程序【核心代码】 String szLine = ""; String szHex = ""; if (szHexPath == "") { MessageBox.Show("请选择需要转换的目标文件! ", "错误"); return; } StreamReader HexReader = new StreamReader(szHexPath); while (true) { szLine = HexReader.ReadLine(); //读取一行数据 if (szLine == null) //读完所有行 { break; } if (szLine.Substring(0, 1) == ":") //判断第1字符是否是: { if (szLine.Substring(1, 8) == "00000001")//数据结束 { break; } szHex = szLine.Substring(9, szLine.Length - 11); //读取有效字符 } } HexReader.Close(); //关闭目标文件 Int32 i; Int32 j = 0; Int32 Length = szHex.Length; byte[] szBin = new byte[Length]; pbConvert.Maximum = Length / 2; for (i = 0; i < Length; i = 2) //两字符合并成一个16进制字节 { szBin[j] = (byte)Int16.Parse(szHex.Substring(i, 2), NumberStyles.HexNumber); j ; pbConvert.Increment(i); } if (szBinPath == "") { szBinPath = Path.ChangeExtension(szHexPath, "bin"); tbBinPath.Text = szBinPath; } FileStream fBin = new FileStream(szBinPath, FileMode.Create); //创建文件BIN文件 BinaryWriter BinWrite = new BinaryWriter(fBin); //二进制方式打开文件 BinWrite.Write(szBin, 0, Length); //写入数据 BinWrite.Flush();//释放缓存 BinWrite.Close();//关闭文件 MessageBox.Show("文件转换完成! ", "提示"); } catch (Exception ex) { MessageBox.Show(ex.ToString()); }
- 2020-12-05下载
- 积分:1
-
做两
ASP.NET+c#做的双向探针,可以看服务器的相关信息,也可以看自己的信息,不需要做任何设置,上传后就可运行,如果使用国外空间请将web.config一起上传,否则可能会出现乱码 v1.1更新: AspNet内存占用、AspNet CPU时间、开机运行时长、进程开始时间、CPU数服务器时区、CPU类型-do two-way probe, the server can see the relevant information, you can see their information and do not need to do any setup, and can upload operation, the use of foreign space Please upload sed together, otherwise there may be gibberish v1.1 Update : AspNet memory footprint, AspNet CPU time, the boot long run, the beginning of the process time, number of server CPU, CPU type
- 2022-03-17 08:37:35下载
- 积分:1
-
STM32_MPU6050
STM32F103RBT6+MPU6050模块,使用卡尔曼滤波,波形很不错~~~~~~~~~~(STM32F103RBT6+MPU6050 module, using the Kalman filter, the waveform is very good ~ ~ ~ ~ ~ ~ ~ ~ ~ ~)
- 2021-04-03 16:29:06下载
- 积分:1
-
C# 创建一个泛型接口
C# 创建一个泛型接口的例子,创建一个泛型接口的代码和方法如下:
public interface IGenericInterface {
T CreateInstance(); //接口中调用CreateInstance方法
}
//实现上面泛型接口的泛型类
//派生约束where T : TI(T要继承自TI)
//构造函数约束where T : new()(T可以实例化)
public class Factory : IGenericInterface where T : TI, new()
{
public TI CreateInstance()//创建一个公共方法CreateInstance
{
return new T();
}
}
class Program
{
static void Main(string[] args)
{
//实例化接口
IGenericInterface factory =
Factory();
//输出指定泛型的类型
Console.WriteLine(factory.CreateInstance().GetType().ToString());
Console.ReadLine();
}
}
- 2022-03-11 00:59:39下载
- 积分:1
-
汉字输入,请参考相互学习。我希望在有限公司
汉字输入,请大家相互参考学习。并且希望在以后的时间里能与大家共同进步-Chinese character input, please reference mutual learning. And I hope that in coming years we can progress together
- 2022-08-08 07:26:44下载
- 积分:1
-
vlfeat-0.9.13-bin.tar
VLFEAT,一个强大的SIFT库函数,适合MATLAB和VC应用(VLFEAT, a powerful SIFT library functions for MATLAB and VC application)
- 2011-09-02 13:16:26下载
- 积分:1
-
stm32 can 发送程序
此程序可以实现两路can接口循环在can线上发送一帧标准的can数据。
- 2022-02-05 06:21:38下载
- 积分:1