- 博客(47)
- 收藏
- 关注
原创 进入社大半年多的杂想
不知不觉,已经入职半年多了,从最开始的悠闲自在到现在琐事缠身,一切变化了很多。在入职之前,我都以为自己是来敲代码的,虽然技术能力比较薄弱,但是可以慢慢学习嘛。希望可以通过做几年技术,然后慢慢往管理方向转,奈何进来之后才发现,直接走的管理方向。 一切都是命中注定,可能上天也觉得自己更适合这种工作。曾经,也纠结过究竟是要去大企业当螺丝钉,还是要去小企业独领风骚,现而今,这种选择的好坏不好说。一个成熟的...
2018-03-20 19:12:42
524
原创 C语言字符串处理函数
函数名: strcpy 功 能: 拷贝一个字符串到另一个 用 法: char *stpcpy(char *destin, char *source); 程序例: #include #include int main(void) { char string[10]; char *str1 = "abcdefghi"; stpcpy(s
2017-11-29 12:51:29
610
转载 前端Js框架汇总
前端Js框架汇总概述: 有些日子没有正襟危坐写博客了,互联网飞速发展的时代,技术更新迭代的速度也在加快。看着Java、Js、Swift在各领域心花路放,也是煞是羡慕。寻了寻.net的消息,也是振奋人心,.net core 1,mono,xamarin等等,但大多都还在狂吼的阶段。其实一直以来对技术的理解是技术服务于业务和产品,产品又在不同程度的推进着技术的演进。
2017-02-24 11:47:04
278
原创 Web一般处理程序
using System;using System.Web;/// /// 一般处理程序就是一个类,这个类就是我们自己编写的一段服务器代码,用来处理特定的用户请求/// public class Handler : IHttpHandler { // HttpApplication对象的ProcessRequest(HttpContext cont
2016-12-16 18:47:34
463
原创 异步委托调用
using System;using System.Collections.Generic;using System.Linq;using System.Runtime.Remoting.Messaging;using System.Text;using System.Threading;using System.Threading.Tasks;namespac
2016-12-16 12:52:14
279
原创 Parallel.For & Parallel.ForEach & Parallel.Invoke
using System;using System.Collections.Concurrent;using System.Collections.Generic;using System.Diagnostics;using System.Linq;using System.Text;using System.Threading;using System.Threadi
2016-12-14 22:56:03
377
原创 JavaScript正则表达式总结
正则表达式中的特殊字符字符 含意\ 做为转意,即通常在"\"后面的字符不按原来意义解释,如/b/匹配字符"b",当b前面加了反斜杆后/\b/,转意为匹配一个单词的边界。 -或- 对正则表达式功能字符的还原,如"*"匹配它前面元字符0次或多次,/a*/将匹配a,aa,aaa,加了"\"后,/a\*/将只匹配"a*"。 ^ 匹配一个输入或一行的开头,/^a/匹配"an
2016-11-27 21:49:51
428
原创 JavaScript
javascript 的数据类型基本类型:数字类型、布尔类型、字符串类型引用类型:对象类型、函数类型空类型:null 和 undefined运算符:typeof 语法: string typeof (变量)
2016-11-24 00:11:55
274
原创 网络编程
Socket 网络编程Serverusing System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Net.Sockets;using System.Text;using System.Threading.Tasks;namespace Server{
2016-11-21 20:30:19
240
原创 并行编程
using System;using System.Collections.Generic;using System.Diagnostics;using System.Linq;using System.Text;using System.Threading;using System.Threading.Tasks;namespace Parallel{
2016-11-21 18:35:14
229
原创 LeetCode OJ---66. Plus One
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at the head of the list.// 算法设计得相当巧妙,可以多学习学习
2016-11-21 16:29:40
275
原创 LeetCode OJ---217. Contains Duplicate
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the array, and it should return false if every element
2016-11-21 15:28:06
310
原创 LeetCode OJ---1. Two Sum
Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution.Example:Given nu
2016-11-21 15:13:55
289
原创 堆排序(2)
#include#define ElementType int#define length(array) sizeof(array)/sizeof(array[0])using namespace std;// 调整堆void AdjustHeap(ElementType a[], int i, int len){ElementType
2016-11-21 14:09:05
640
原创 堆排序(1)
堆排序的完整实现#include#define length(array) sizeof(array)/sizeof(array[0])using namespace std;void AdjustHeap(int *array, int p, int len){int currentParent = array[p];int child = 2
2016-11-21 00:05:26
363
原创 希尔排序
#include using namespace std;int a[] = { 70, 30, 40, 10, 80, 20, 90, 100, 75, 60, 45 };void ShellSort(int a[], int n);int main(){cout for (int i = 0; icout cout ShellSort
2016-11-20 16:55:54
266
原创 排序算法
排序算法直接插入排序(完整实现)//--------------------------------------1 头文件-------------------------------------------------#include#include#define length(array) sizeof(array)/sizeof(array[0])#defin
2016-11-20 13:40:55
355
原创 LeetCode OJ---27. Remove Element
Given an array and a value, remove all instances of that value in place and return the new length.Do not allocate extra space for another array, you must do this in place with constant memory.
2016-11-19 22:40:57
295
原创 MVC
MVCUI层(表现层)1、采集用户输入2、将数据以不同的方式展示给用户。BLL(业务逻辑层)主要是处理各种和当前业务相关的操作DAL(数据访问层)只负责访问数据库,将用户传递过来的数据在数据库中执行,将执行后的数据返回给用户数据库
2016-11-19 14:04:25
315
原创 查找XML
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Xml.Linq;namespace 查找XML{ class Program { s
2016-11-17 21:22:40
263
原创 使用Linq创建XML
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Xml.Linq;namespace 使用LinqToXML{ class Program {
2016-11-17 20:52:44
344
原创 创建一个XML文件
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Xml;namespace 使用传统方法创建XML{ class Program {
2016-11-17 20:38:13
853
原创 XML
XML(X Exrensible Markup Language) -> 用来存储数据使用 -> 数据交互必须让所有人了解数据的内容结构 -> 借鉴HTML的存储结构 数据 XML的基本结构 -> 首先是一个文本文件 -> 有一
2016-11-17 19:35:59
321
原创 linq查询的模拟
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace _15linq查询的模拟{ public delegate bool CheckDelegate(int num);
2016-11-17 07:54:07
301
原创 匿名方法
// 匿名方法的使用using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace _14匿名方法{ public delegate int GetSumDelegate(int mi
2016-11-17 00:39:02
406
原创 委托
// 委托的使用实例,排序举例using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace _13自定义排序{ public delegate int MyCompareHand
2016-11-16 23:31:42
327
原创 中文转拼音的实现,利用Visual Studio International Pack库
C#中实现中文转拼音的功能在此之前,我们需要一个安装包,这个用来实现中文到拼音的转换:Microsoft Visual Studio International Pack 1.0 SR1 :http://www.microsoft.com/zh-cn/download/details.aspx?id=15251下载好安装包,解压后可以看见如下图:
2016-11-15 23:01:21
1073
原创 单例模式
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 单例模式{ class SingleModel { private SingleModel()
2016-11-10 22:31:39
465
原创 城市级联
//--------------------------------------------配置文件----------------------------------------------------------------- // ---------------------------------------
2016-11-10 21:41:16
559
原创 一诺仪器面试的心得体会
前几天无疑去了这家公司的招聘会,顺便把自己的简历也砸上了一份,然后通知大家今天上午9点去面试。 我早早地便起来了,打印好自己的成绩单,屁颠屁颠地赶到公司去参加面试,我到的时候时间已经不早了,大概8点50多吧。此时,已经有十来个同学到了吧,都坐在一个三十平米左右的办公室里。 HR姐姐给我们每人发了份登记单,感觉真的是在填些自己个人信息什么的,把这个弄好后,然后按照
2016-11-09 23:05:56
7272
1
原创 版本控制系统---SVN
SVN的学习多人合作开发(协作开发)时间机器,记录每一次修改介绍: SVN就是一个源代码管理器(可以管理任何文件,不只是代码)。 自己开发也可以使用SVN, 可以回到某个版本。源代码管理器: SVN, cvs,git,vss,tfs
2016-11-07 19:27:27
422
原创 SQLHelper--四种方法完整版
//--------------------------------------1 配置文件----------------------------------------------------------------------------------- //-----------------
2016-11-06 20:14:48
3394
1
原创 SQLHelper
//----------------------------------------配置文件-------------------------------------------------------------------------- //-----------------------------
2016-11-06 17:19:01
282
原创 数据查询--参数化查询
----------------------------------配置文件------------------------------------------------------------------------------ ---------------------------------Pr
2016-11-06 15:57:53
662
原创 参数化查询
// ---------------------------------------配置文件---------------------------------------------------------------------------- //-----------------------
2016-11-06 15:08:55
388
原创 登陆
-----------------------------配置文件--------------------------------------------------------------------------------------------- -------------------------
2016-11-06 14:16:13
292
原创 注册(带验证用户名)
// -------------------------------Program.cs--------------------------------------------------------------using System;using System.Collections.Generic;using System.Linq;using System.Threading
2016-11-06 13:18:48
445
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人