随笔分类 -  C#

摘要:#pragma once #include "stdafx.h" #define MAXK 1e7 //class AlgoMath { //public: // AlgoMath() {} // virtual ~AlgoMath() {} //}; //级数求和 //伪 lanmda 写法 //double Series=(double base, int limit, int Cons... 阅读全文
posted @ 2017-03-22 23:18 影落明湖 阅读(309) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections; 3 using System.Collections.Generic; 4 using System.ComponentModel; 5 using System.Data; 6 using System.Dra 阅读全文
posted @ 2017-03-16 21:44 影落明湖 阅读(383) 评论(0) 推荐(0)
摘要:using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BitArrayCh.Algo { //BitArray 内置是逆序存储, 因此要自... 阅读全文
posted @ 2017-03-16 17:35 影落明湖 阅读(382) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; 7 阅读全文
posted @ 2017-03-16 16:29 影落明湖 阅读(153) 评论(0) 推荐(0)
摘要://BitOperations.Designer.cs private System.Windows.Forms.Button btnAnd; private System.Windows.Forms.Button btnOr; private System.Windows.Forms.Button btnXor; private System.Windows.Forms.Label la... 阅读全文
posted @ 2017-03-16 14:49 影落明湖 阅读(237) 评论(0) 推荐(0)
摘要:using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StackQueue.Main { //基数排序 public class ... 阅读全文
posted @ 2017-03-15 21:23 影落明湖 阅读(105) 评论(0) 推荐(0)
摘要:using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StackQueue.algo { //进程优先队列 public stru... 阅读全文
posted @ 2017-03-15 21:15 影落明湖 阅读(268) 评论(0) 推荐(0)
摘要:#include #include #define OK 1 #define ERROR -1 #define TRUE 1 #define FALSE -1 #define NULL 0 #define OVERFLOW -2 #define ElemType int #define Status int typedef int ElemType typedef int Status #d... 阅读全文
posted @ 2017-02-24 22:40 影落明湖 阅读(3105) 评论(0) 推荐(0)
摘要:#include #include #define OK 1 #define ERROR -1 #define TRUE 1 #define FALSE -1 #define NULL 0 #define OVERFLOW -2 #define ElemType int #define Status int typedef int ElemType typedef int Status #d... 阅读全文
posted @ 2017-02-24 22:38 影落明湖 阅读(760) 评论(0) 推荐(0)
摘要:#include #include #define OK 1 #define TRUE 1 #define ERROR -1 #define FALSE -1 #define OVERFLOW -2 #define ElemType int #define Status int typedef int ElemType typedef int Status #define MAX_SIZE ... 阅读全文
posted @ 2017-02-24 22:32 影落明湖 阅读(609) 评论(0) 推荐(0)
摘要:#include #include #define OK 1 #define ERROR -1 #define TRUE 1 #define FALSE -1 #define NULL 0 #define OVERFLOW -2 #define ElemType int #define Status int typedef int ElemType typedef int Status #d... 阅读全文
posted @ 2017-02-24 22:29 影落明湖 阅读(1445) 评论(0) 推荐(0)
摘要:#include #include #define OK 1 #define TRUE 1 #define ERROR -1 #define FALSE -1 #define OVERFLOW -2 #define ElemType int #define Status int typedef int ElemType typedef int Status #define LEN sizeo... 阅读全文
posted @ 2017-02-24 22:26 影落明湖 阅读(2234) 评论(0) 推荐(0)
摘要:#include #include #define OK 1 #define TRUE 1 #define ERROR -1 #define FALSE -1 #define OVERFLOW -2 #define ElemType int #define Status int //线性单链表 初始化 插入 取出 头插法 合并升序排列 //------------------------... 阅读全文
posted @ 2017-02-23 00:16 影落明湖 阅读(1135) 评论(0) 推荐(0)
摘要:#include #include #define OK 1 #define TRUE 1 #define ERROR -1 #define FALSE -1 #define OVERFLOW -2 #define ElemType int #define Status int //线性单链表 初始化 插入 取出 头插法 合并升序排列 //-------------------------... 阅读全文
posted @ 2017-02-22 18:35 影落明湖 阅读(499) 评论(0) 推荐(0)
摘要:void union(List &La,List Lb){ //线性表 求并集 //求并集 //不存在的元素插入到La La_len = ListLength(La); Lb_len = ListLength(Lb); for(i=1;I<=Lb_len;i++){ GetElem(Lb,i,e); if(!LocateEl... 阅读全文
posted @ 2017-02-22 12:28 影落明湖 阅读(724) 评论(0) 推荐(0)
摘要:#include #include #define LEN sizeof(ElemType) #define OK 1 #define TRUE 1 #define ERROR -1 #define FALSE -1 #define OVERFLOW -2 typedef int ElemType typedef int Status const LIST_INIT_SIZE=100;... 阅读全文
posted @ 2017-02-21 23:11 影落明湖 阅读(3002) 评论(0) 推荐(0)
摘要: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 System.... 阅读全文
posted @ 2016-12-15 14:00 影落明湖 阅读(304) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.SQLite; using System.Configuration; namespace DAL { public class Sqlite... 阅读全文
posted @ 2016-12-09 10:41 影落明湖 阅读(651) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Data.SqlClient; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _02SQLHelperC { class... 阅读全文
posted @ 2016-11-14 14:18 影落明湖 阅读(917) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; namesp... 阅读全文
posted @ 2016-11-14 13:55 影落明湖 阅读(406) 评论(0) 推荐(0)