-
一个典型的问题hanoi问题,这里用了一个递归函数来解决的
一个典型的问题hanoi问题,这里用了一个递归函数来解决的-a typical problem Hanoi, here used a recursive function to solve the
- 2023-04-16 11:45:03下载
- 积分:1
-
1602液晶移动显示
利用液晶显示屏1602动态显示字符 显示光标和光标闪烁打开效果
- 2022-05-31 10:45:44下载
- 积分:1
-
C#文件加密实例源码下载
C#文件加密实例
- 2013-01-29下载
- 积分:1
-
AESymbol
本文档介绍了AE+C#环境下符号化的使用,图层符号化内部接口的详细介绍及使用,适合初学者学习参考,有兴趣的可以下载(This document describes the AE+C# environment symbolic use of the internal interface layer symbology detailed description and use, suitable for beginners to learn, are interested can download)
- 2013-10-11 10:53:14下载
- 积分:1
-
阶乘与裴波那契的汇编程序
为下面两个C程序编写等价的汇编程序——手工编译:
1. 阶乘
main()
{
int i, n, f;
input(n);
i = 2;
f = 1;
while (i
- 2022-03-24 09:49:49下载
- 积分:1
-
Multilist
If a multidimensional matrix is sparse, then we might use a multilist rather than a multidimensional array to represent it. We could use one node for each value in the matrix and one link for each dimension, with the link pointing to next item in that dimension. This arrangement reduces the storage required from the product of the maximum indices in the dimenstions to be proportional to the number of nonzero entries but increases the time required for many algorithms
- 2023-03-16 17:10:04下载
- 积分:1
-
TH2005_Nhom4-5_Train_2
hello train ning what asfjfyfh
- 2009-10-23 17:44:38下载
- 积分:1
-
C++
可以编程单片机,绘制很多功能,希望大家支持-C++
- 2022-03-18 02:46:30下载
- 积分:1
-
workflow (c#) written in the order windows Designer
workflow(c#)写的windows顺序流设计器-workflow (c#) written in the order windows Designer
- 2022-01-20 23:19:47下载
- 积分:1
-
C#以二进制格式打开和保存文件
C#使用BinaryWriter、BinaryReader对象分别保存和读取二进制文件,程序分两部分,先来看第一部分:
C#以二进制格式保存文件:设置保存文件的格式:
saveFileDialog1.Filter = "二进制文件(*.dat)|*.dat";
if (saveFileDialog1.ShowDialog() == DialogResult.OK)
{
//使用“另存为”对话框中输入的文件名实例化FileStream对象
FileStream myStream = new FileStream(saveFileDialog1.FileName, FileMode.OpenOrCreate, FileAccess.ReadWrite);
//使用FileStream对象实例化BinaryWriter二进制写入流对象
BinaryWriter myWriter = new BinaryWriter(myStream);
//以二进制方式向创建的文件中写入内容
myWriter.Write(textBox1.Text);
//关闭当前二进制写入流
myWriter.Close();
//关闭当前文件流
myStream.Close();
textBox1.Text = string.Empty;
}
打开文件时同样也是以二进制来打开读取文件内容:
//设置打开文件的格式
openFileDialog1.Filter = "二进制文件(*.dat)|*.dat";
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
textBox1.Text = string.Empty;
//使用“打开”对话框中选择的文件名实例化FileStream对象
FileStream myStream = new FileStream(openFileDialog1.FileName, FileMode.Open, FileAccess.Read);
//使用FileStream对象实例化BinaryRea
- 2022-02-14 18:03:07下载
- 积分:1