码迷,mamicode.com
首页 >  
搜索关键字:collections deque counter    ( 12297个结果
多线程+缓存计算
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Management;using System.Threading.Tasks;namespace TaskT...
分类:编程语言   时间:2014-05-23 08:40:04    阅读次数:413
UVA 11988 Broken Keyboard (a.k.a. Beiju Text)
题目大意: 输入一个文章,[ 就是把光标放到最前面  ] 把光标放到最后面。 输出最后得到的文章。 思路分析: 用deque 模拟。 #include #include #include #include #define maxn 111111 using namespace std; char str[maxn]; deque Q; deque::itera...
分类:其他好文   时间:2014-05-23 08:12:11    阅读次数:335
http协议区分头信息和正文
http协议中的头信息和正文是采用空行分开,什么是空行呢?简单来说,就是\r\n\r\n。 所以将服务器返回的数据用\r\n\r\n分开后的结果,一个是头信息,一个是正文信息。 C#的代码如下: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; usi...
分类:其他好文   时间:2014-05-22 12:55:02    阅读次数:300
C#用SerialPort实现串口通讯
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Tex...
分类:其他好文   时间:2014-05-22 12:36:05    阅读次数:243
C++ list模板类介绍
简介          List是一种可在常数时间内在任何位置执行插入和删除操作的顺序容器。list是双向链表,其迭代器是双向的。与其他顺序容器(array, vector, deque)相比,list容器在任意位置执行插入、提取、和移动元素的操作更高效,但它不能通过在容器中的位置直接获取元素。 成员函数 复制控制 list::list()  ...
分类:编程语言   时间:2014-05-22 11:44:49    阅读次数:433
用.net改写的uploadify多文件上传控件
有图真相:ASP.NET代码: C#代码: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using Syste...
分类:Web程序   时间:2014-05-22 05:35:59    阅读次数:338
错误日志类C#
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows.Forms;using System.IO;namespace WisdomCity.Enti...
分类:其他好文   时间:2014-05-22 05:08:36    阅读次数:271
winform学习日志(二十九)----------根据标点符号分行,StringBuilder的使用;将字符串的每个字符颠倒输出,Reverse的使用
一:根据标点符号分行,上图,代码很简单二:代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.L...
分类:Windows程序   时间:2014-05-22 04:53:54    阅读次数:469
winform学习日志(三十)----------从字符串总分离文件路径、命名、扩展名,Substring(),LastIndexOf()的使用;替换某一类字符串,Replace()的用法
一:从字符串总分离文件路径、命名、扩展名,上图二:代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using Syst...
分类:Windows程序   时间:2014-05-22 04:47:24    阅读次数:382
WinForm 进度条
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u...
分类:Windows程序   时间:2014-05-22 02:29:34    阅读次数:504
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!