自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

abel.xiang的博客

测试小工具分享

  • 博客(15)
  • 资源 (2)
  • 收藏
  • 关注

原创 ListBox控件—列表控件--常用的属性和方法

ListBox控件—列表控件 --常用的属性和方法 Items: public ObjectCollection Items {get; } 摘要: 该属性使用户可以获取当前存储在ListBox中的项列表的引用,可以在集合中添加项、移除项、获取项计数 返回结果: System.Windows.Forms.ListBox.ObjectCollection,表示 System.Windows.Forms.ListBox中的项 实例: listBox1.Items.Add("12月");

2021-04-08 15:18:11 4966

原创 文件锁fcntl函数-读取锁

#include<unistd.h> #include<fcntl.h> #include<stdio.h> #include<stdlib.h> #include<sys/types.h> #include<sys/stat.h> #include<stdio.h> #include"lock.c" /* * ...

2020-03-04 21:24:55 331

原创 文件锁fcntl函数-写入锁

#include<unistd.h> #include<fcntl.h> #include<stdio.h> #include<stdlib.h> #include<sys/types.h> #include<sys/stat.h> #include<stdio.h> #include"lock.c" /* * ...

2020-03-04 21:23:16 395

原创 dup函数共享文件

#include<unistd.h> #include<fcntl.h> #include<stdio.h> #include<stdlib.h> #include<sys/stat.h> /* * * 文件共享 * 通过dup函数复制新的文件描述符,使得两个文件描述符共享同一个文件 * * * dup函数用法: * in...

2020-03-02 22:24:25 203

原创 open/creat/read/write/lseek函数

#include<unistd.h> #include<fcntl.h> #include<stdio.h> #include<stdlib.h> #define BUFFER_SIZE 10 #define SRC_FILE_NAME "src_file" #define DEST_FILE_NAME "dest_file" #define OF...

2020-03-02 21:56:11 252

原创 C#之路:枚举

枚举是用户定义的整数类型,在声明枚举时,要指定该枚举的实例可以包含的一组可以接受的值。 语法: enum <enum_name> { enumeration list }; enumeration list:用逗号分隔开的标识符列表 namespace study1230 { class Program { public enum Week...

2019-12-31 11:50:08 155

原创 C#之路:程序流控制

条件语句 1.if语句 语法: if(Condition) Statements; else Statements; 2.switch语句 语法: switch(integerA) { case1: break; case2: break; case3: ...

2019-12-31 11:48:37 221

原创 C#之路:数据类型

值类型与引用类型 值类型:直接存储其值,存储在堆栈中(stack) 引用类型:存储对值得引用,存储在托管堆上 namespace study1230 { class Program { public class Vector { public int value; } static void M...

2019-12-31 11:46:13 223

原创 C#之路:变量

C#之路:变量 语法: datatype identifier; 编译器实际是不允许直接使用声明的变量,需要对其进行初始化。 若需要在一条语句中同时声明几个相同类型的变量,需要使用逗号隔开每个变量;同一条语句只能声明同类型的变量。 int i = 10, y = 20;`` int i = 10; bool y = true; 变量的作用域: 1.只要类在某个作用域内,其字段(成员变量)也在该作...

2019-12-30 11:51:39 739

原创 C#之路:Hello World

编程工具:Visual Studio 2015 简单的第一个程序: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static System.Console; namespace _1_hello_w...

2019-11-21 10:24:59 177 1

原创 异或校验工具编写(5)

程序附录: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using Sy...

2019-11-19 10:10:42 653

原创 异或校验工具编写(4)

窗体设计 首先需要量TextBox控件,一个用来输入一串16进制字符串,另一个用来显示异或校验的结果 另外需要一个button按钮来选择异或开始

2019-11-19 09:36:01 286

原创 异或校验工具编写(3)

字符串转换函数:Convert.ToString(int value, int format) int value:要转换的整数,一般是(byte)8位无符号整数 int format:value的进制,一般为2、4、8、10、16 简单代码如下: namespace SubString { class Program { static void Main(stri...

2019-11-19 09:08:36 211

原创 异或校验工具编写(2)

进制转换函数:Convert.ToInt32(string value,format) string value:要转换的字符 format:要转换的value的进制,一般都是2、8、10、16 这个函数主要是将我们输入的16进制字符串转换整数,方便后续进行异或 如简单的转换代码: namespace SubString { class Program { stat...

2019-11-18 11:54:09 756

原创 异或校验工具编写(1)

Substring(int startIndex, int length)函数的用法 substring(int startIndex,int length)函数是用来从指定的位置开始截取某长度的字符 int startIndex:开始截取的位置,但不包含该字符,如:“abcdefg”,startIndex=2,则截取的位置是c开始(包含c在内) int length:截取的字符串长度 如简单的截...

2019-11-18 10:38:06 434

异或校验工具XOR.zip

异或校验测试小工具,主要是16进制字符串每个字节与上一次异或结果再异或,获取到最终的校验码。方便大家快速获取到异或校验码,附件包含了.exe工具和所有的源代码。

2019-11-19

汉字编码—源码.zip

汉字编码—源码.zip

2021-04-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除