码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
hd1016
#include <iostream> #include <cstring> using namespace std; bool prime[41]={0,0,1,1,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,
分类:其他好文   时间:2016-02-16 20:31:08    阅读次数:133
数据结构——字典树(C++)
源代码: #include<iostream> using namespace std; string s; int n,num(0); struct treetype { char t; //用于节点储存字符。 bool over; //用于标记是否为此字符串的终结。 int next,deep,
分类:编程语言   时间:2016-02-16 20:29:14    阅读次数:181
DataTime.Now.Ticks的应用
参考:http://www.cnblogs.com/delphinet/archive/2011/06/09/2075985.html 转换成秒: using System; using System.Collections.Generic; class Sentence { static void
分类:其他好文   时间:2016-02-16 20:27:17    阅读次数:160
NOPI导入导出
using NPOI.HSSF.UserModel; using NPOI.SS.UserModel; using System; using System.Data; using System.IO; using System.Windows.Forms; namespace Excel导出示例
分类:其他好文   时间:2016-02-16 20:26:52    阅读次数:258
使用Aspose将DataTable转Excel
0.准备工作 1.下载并引入Aspose.Cells 下载Aspose Cells并引入using Aspose.Cells 下面示例中用的是.net 3.0版本的Aspose Cells,编译环境VS2013 具体下载和引入方法见:http://www.cnblogs.com/moonache/p
分类:Web程序   时间:2016-02-16 18:49:04    阅读次数:416
C# 酒鬼买酒喝,瓶盖和空瓶子可以换新的酒
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 换瓶子 { class Program { //...
分类:Windows程序   时间:2016-02-16 18:47:28    阅读次数:236
C#中的文件同步
How to: Synchronize Files by Using Managed Code FileSyncProvider Class File Synchronization Provider Sample Introduction to Microsoft Sync Framework F
分类:Windows程序   时间:2016-02-16 18:41:52    阅读次数:192
c# 访问Mysql
下载Connector/Net驱动程序,并安装。 通过MySQLConnection对象来连接数据库,连接MySQL的程序的最前面需要引用MySql.Data.MySqlClient。 using MySql.Data.MySqlClient 创建MySqlConnection对象 MySqlCon
分类:数据库   时间:2016-02-16 18:37:44    阅读次数:278
归并排序
#include<iostream>#include<cstdio>#include<cstring>using namespace std;int main(){ int n,k,sum=0; cin>>n; int a[30001]={0}; for(int i=1;i<=n;i++) { ci
分类:编程语言   时间:2016-02-16 18:22:48    阅读次数:150
冒泡排序
#include<iostream>#include<cstdio>#include<cstring>#include<cstdlib>using namespace std;int main(){ int n; cin>>n; int a[n+1]; for(int i=1;i<=n;i++) c
分类:编程语言   时间:2016-02-16 18:19:50    阅读次数:144
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!