12 2014 档案
摘要:最近要做系统集成,需要从串口读取数据,随学习一下相关知识:以下是从串口读取数据public static void Main(){ SerialPort mySerialPort = new SerialPort("COM1"); mySerialPort.BaudRate = 9600...
阅读全文
摘要:二分查找法: private static void Main(string[] args) { int[] data = new int[10]; for (int i = 0; i < 10; i++) { ...
阅读全文
摘要:百度百科:http://baike.baidu.com/view/19016.htmC# 测试代码:private static void Main(string[] args) { int[] data = new int[10]; Ran...
阅读全文
摘要:1、 echo "hello" > welcome.txt //创建文本,内容为hello2、 git add welcome.txt //添加文本到版本库3、 git commit -m "initialized" //添加注释4、 git log --stat //查看提交日志5、git re...
阅读全文