码迷,mamicode.com
首页 >  
搜索关键字:word count    ( 35350个结果
Word报表及二次开发总结
在各类系统开发中,Word相关的应用相当广泛。在各类MIS系统中,在各种和实际业务结合紧密的系统中,对Word的操作可以说是必不可少的。典型的应用包括: 1、内嵌Word。在系统中内嵌Word的功能,可以利用Word强大功能进行文档的新建、编辑、修改,同时节省了编辑器本身的学习成本。 2、Word的...
分类:其他好文   时间:2014-05-17 02:55:36    阅读次数:1003
C#创建word,操作、读写
要使用C#操作word,首先要添加引用: 1、添加引用->COM->Microsoft Word 11.0 Object Library 2、在.cs文件中添加usingWord;下面的例子中包括C#对Word文档的创建、插入表格、设置样式等操作:(例子中代码有些涉及数据信息部分被省略,重要是介绍一...
分类:其他好文   时间:2014-05-17 01:36:01    阅读次数:244
C fwrite
功能:向文件读入写入一个数据块。用法:fwrite(const void *buffer,size_t size,size_t count,FILE *stream);(1)buffer:是一个指针,对fwrite 来说,是要输出数据的地址。(2)size:要写入内容的单字节数;(3)count:要...
分类:其他好文   时间:2014-05-16 23:37:49    阅读次数:303
[转]关闭word进程
命名空间:System.Diagnostics 以前在word的时候,经常碰到word进程产生一大堆,怕关错了,把用户自己打开的word也关闭,一直搞忽悠,今天上网花了10块钱,下了个文件,给我了一点启发,总于可以实现只关闭程序中打开的,,,我自己测试了,是可以实现的,各位也可以copy去试试,.....
分类:其他好文   时间:2014-05-16 22:55:43    阅读次数:301
winfrom中DataGridView绑定数据控件中DataGridViewCheckBoxColumn怎么选中
for (int i = 0; i < this.dataGridView1.Rows.Count; i++) { this.dataGridView1.Rows[i].Cells["CheckBoxCulums"].Value = this.ch...
分类:Windows程序   时间:2014-05-16 21:48:31    阅读次数:393
Leetcode: Count and Say
一次过 1 public class Solution { 2 public String countAndSay(int n) { 3 if (n <= 0) return ""; 4 int i = 1; 5 String current ...
分类:其他好文   时间:2014-05-16 21:27:59    阅读次数:267
约瑟夫问题 算法很简单保证每隔人都能看懂用数组实现 利用循环删除数组中的元素
#include using namespace std; const int size = 1000; void ArrDel() { int arr[size]; //循环结束标志,一直循环到数组中只剩下最后一个元素结束 int currentNum = size; int count = 0; for (int k = 0; k < size; k++) { arr...
分类:其他好文   时间:2014-05-13 15:53:09    阅读次数:282
BZOJ 1036: [ZJOI2008]树的统计Count
题目地址:BZOJ 1036 题目大意:给出一棵树,每个点有一个权值,要求三种操作:1.修改某个点的权值,2.询问x到y路径上各点的权值最大值,3.询问x到y路径上各点的权值之和。 算法讨论:树链剖分模板题。 Code: #include #include #define N 30000 #define oo 0x7f7f7f7f using namespace std; int...
分类:其他好文   时间:2014-05-13 15:45:57    阅读次数:336
ZOJ3671:Japanese Mahjong III
Mahjong is a game of skill, strategy and calculation and involves a certain degree of chance. In this problem, we concentrate on Japanese Mahjong, a variation of mahjong. For brief, all of the word ma...
分类:其他好文   时间:2014-05-13 14:59:51    阅读次数:356
ZOJ3669:Japanese Mahjong I
Mahjong is a game of skill, strategy and calculation and involves a certain degree of chance. In this problem, we concentrate on Japanese Mahjong, a variation of mahjong. For brief, all of the word ma...
分类:其他好文   时间:2014-05-13 13:54:14    阅读次数:463
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!