码迷,mamicode.com
首页 >  
搜索关键字:word count    ( 35350个结果
单向链表的建立,添加与删除
/*-------------------------包含头文件------------------------------------*/ #include #include #include #include int count=0; /*-------------------------结构体定义部分------------------------------*/ typede...
分类:其他好文   时间:2014-05-18 18:22:04    阅读次数:266
读取硬盘序列号
#pragma hdrstop #pragma argsused #include #include #include #include "hdd.h" const WORD IDE_ATAPI_IDENTIFY = 0xA1; // 读取ATAPI设备的命令 const WORD IDE_ATA_IDENTIFY = 0xEC; // 读取ATA设备的命令 const in...
分类:其他好文   时间:2014-05-18 14:36:24    阅读次数:430
LeetCode: Substring with Concatenation of All Words [029]
【题目】 You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once and without any intervening characters. For example, given: S:...
分类:其他好文   时间:2014-05-18 08:31:48    阅读次数:228
一段tricky code
Wrote by mutouyun. (http://darkc.at/a-tricky-code/) 刚刚在网上闲逛,看到reddit上关于最受欢迎的代码的讨论贴,上面有一小段非常有意思的代码: unsigned int v; // to count the number of bits set in v unsigned int c; // c accumulates the ...
分类:其他好文   时间:2014-05-18 07:44:31    阅读次数:284
JSP_<jsp:application>实例
本文出自:http://blog.csdn.net/svitter Application对象为了多个应用程序保存信息,对于每个容器,每个用户都共同拥有一个application对象,服务器启动以后,会自动创建一个application对象,这个对象会一直保持到服务器关闭。 下列实例用于统计页面访问次数。 1.application.jsp <% int count =...
分类:移动开发   时间:2014-05-18 05:18:53    阅读次数:286
LeetCode:Reverse Words in a String
题目: Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". Clarification: What constitutes a word? A sequence of non-spa...
分类:其他好文   时间:2014-05-18 04:12:07    阅读次数:198
站在巨人的肩膀上——人事项目数据导出word
最近在做人事项目中的,数据导出word,具体的说就是从web客户端页面获取信息,添加到信函模板中,再导出为word文档。总结一下,学会了两种方法,1.通过将word模板转换为html文件,输出word。2.利用第三方组件Aspose.Words操作word模板,输出word。...
分类:其他好文   时间:2014-05-18 03:44:24    阅读次数:257
[Linux 性能检测工具]VMSTAT
VMSTATNAME:Vmstat:报告虚拟内存统计语法: vmstat [-a] [-n] [-t] [-S unit] [delay [ count]] vmstat [-s] [-n] [-S unit] vmstat [-m] [-n] [delay [ count]] vmstat [-d...
分类:系统相关   时间:2014-05-18 02:35:58    阅读次数:349
读取XML 发送网页版邮件
DataSet ds = new DataSet(); ds.ReadXml(AppDomain.CurrentDomain.BaseDirectory + "XML\\Mail.xml"); if (ds.Tables.Count > ...
分类:Web程序   时间:2014-05-18 02:19:31    阅读次数:408
word 2010自定义快捷键提高工作效率
经常使用word处理文档, 做笔记的时候会把word文档框缩小,以便同时看pdf同时记录笔记,但是缩小的word框不能把所有的菜单项显示出来,我比较常用那个插入边框下面的那个横线来做分割符,但是缩小了word之后那个菜单项显示不出来,每次要用的时候都要先最大化word,操作完了之后再恢复原来的大小来...
分类:其他好文   时间:2014-05-17 20:40:38    阅读次数:368
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!